]> https://gitweb.dealii.org/ - candi.git/commitdiff
CI: fix OSX build 152/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 20 Dec 2020 17:02:03 +0000 (12:02 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 28 Dec 2020 14:15:49 +0000 (09:15 -0500)
- 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

index acfa6114ab9dc5d0410697b804d8fa4d647b5885..4e5084db1d742aad892bd2e49f29c72474330cb6 100644 (file)
@@ -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: |

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.