From c37d5086bcfe3e28f8501b654b3f75c56026a381 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 20 Dec 2020 12:02:03 -0500 Subject: [PATCH] CI: fix OSX build - force cmake 3.18 as 9.2 does not support 3.19 (default in the VM) - change the minimal build to use MPI as well (without it, blas is not found for some reason). There is no good reason to test candi builds without MPI. --- .github/workflows/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index acfa611..4e5084d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,13 +28,18 @@ jobs: steps: - uses: actions/checkout@v2 + - name: setup + run: | + # force cmake version: + pip install cmake==3.18.4 + echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH + brew install openmpi - name: info run: | - g++ -v + mpicxx -v cmake --version - name: build run: | - echo 'DEAL_CONFOPTS="-D DEAL_II_WITH_MPI=OFF"' >> candi.cfg ./candi.sh -j 2 --packages="dealii" cd ~/deal.ii-candi/tmp/build/deal.II-* && make test @@ -46,6 +51,9 @@ jobs: - uses: actions/checkout@v2 - name: setup run: | + # force cmake version: + pip install cmake==3.18.4 + echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH brew install openmpi - name: info run: | -- 2.39.5