FFT Analysis Endpoint - WIP #256
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: base-library | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
base-ubuntu: | |
runs-on: ubuntu-latest | |
env: | |
CMAKE_CONFIGURATION: ubuntu_base | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Deps | |
run: | | |
set -x | |
git submodule update --init --recursive | |
export DEBIAN_FRONTEND="noninteractive" | |
export TZ="America/Los_Angeles" | |
sudo apt-get update -qq | |
sudo apt-get install -qq -y git-core gcc g++ gfortran cmake ninja-build subversion automake m4 wget swig python3-dev openmpi-bin libopenmpi-dev python3-numpy python3-mpi4py libfftw3-mpi-dev | |
- name: Setup CCache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: ${{ github.job }}-ubuntu-ccache | |
- name: Configure | |
run: ctest -VV -S .github/ci/ctest_configure.cmake | |
- name: Build | |
run: ctest -VV -S .github/ci/ctest_build.cmake | |
- name: Test | |
run: | | |
set -x | |
source ../build/bin/sensei-env.sh | |
ctest -VV -S .github/ci/ctest_test.cmake | |
base-macos: | |
runs-on: macos-latest | |
env: | |
CMAKE_CONFIGURATION: macos_base | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Deps | |
run: | | |
set -x | |
git submodule update --init --recursive | |
brew install ninja openmpi swig openssl python@3.9 | |
brew unlink python | |
brew link --force python@3.9 | |
python3 -mpip install numpy mpi4py | |
- name: Setup CCache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: ${{ github.job }}-macos-ccache | |
- name: Configure | |
run: ctest -VV -S .github/ci/ctest_configure.cmake | |
- name: Build | |
run: ctest -VV -S .github/ci/ctest_build.cmake | |
- name: Test | |
run: | | |
set -x | |
source ../build/bin/sensei-env.sh | |
ctest -VV -S .github/ci/ctest_test.cmake |