Skip to content

Commit

Permalink
fix bools
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Apr 5, 2024
1 parent adc2636 commit 7e9041c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ jobs:
which swig
swig -version
- if: ${{ matrix.cuda == 'true' }}
- if: ${{ matrix.cuda == true }}
name: Install CUDA
run: |
echo $cuda
source ./ci_scripts/add_cuda_11_5.sh;
echo "/usr/local/cuda-${CUDA}/bin" >> $GITHUB_PATH
- if: ${{ matrix.parallel == 'true' }}
- if: ${{ matrix.parallel == true }}
name: Install MPI
run: |
sudo apt-get install mpich;
sudo apt-get install libmpich-dev;
pip install mpi4py --prefix=$HOME/sandbox
python -c "import mpi4py;print(mpi4py.get_include())";
- if: ${{ matrix.parallel != 'true' }}
- if: ${{ matrix.parallel == false }}
name: Build serial
run: |
# test workflow to manually run swig
Expand All @@ -85,17 +85,17 @@ jobs:
python setup.py install --swig --with-gslib --verbose
python setup.py install --skip-ext --skip-swig --with-gslib --verbose
- if: ${{ matrix.parallel == 'true' }}
- if: ${{ matrix.parallel == true }}
name: Build parallel
run: |
python setup.py install --with-gslib --with-parallel --prefix=$SANDBOX
- if: ${{ matrix.parallel != 'true' }}
- if: ${{ matrix.parallel == false }}
name: Run serial
run: |
cd test
python run_examples.py -serial -verbose
- if: ${{ matrix.parallel == 'true' }}
- if: ${{ matrix.parallel == true }}
name: Run parallel
run: |
which mpicc
Expand Down

0 comments on commit 7e9041c

Please sign in to comment.