]> https://gitweb.dealii.org/ - candi.git/commitdiff
take over CI from master 163/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 20 Jan 2021 16:04:22 +0000 (11:04 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 20 Jan 2021 16:04:22 +0000 (11:04 -0500)
.github/workflows/main.yml

index acfa6114ab9dc5d0410697b804d8fa4d647b5885..8e36095e0189aae7907326a5623fa4f107a085e2 100644 (file)
@@ -4,7 +4,7 @@ on: [push, pull_request]
 
 jobs:
   ubuntu18-minimal:
-    name: ubuntu 18.04 minimal build
+    name: ubuntu 18.04 minimal
     runs-on: [ubuntu-18.04]
 
     steps:
@@ -19,33 +19,63 @@ jobs:
         cmake --version
     - name: build
       run: |
+        echo 'DEAL_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
         ./candi.sh -j 2 --packages="once:p4est dealii"
-        cd ~/deal.ii-candi/tmp/build/deal.II-* && make test
+        cd ~/deal.ii-candi/tmp/build/deal.II-* && cat detailed.log && make test
+
+  ubuntu20-blas:
+    name: ubuntu 20.04
+    runs-on: [ubuntu-20.04]
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: setup
+      run: |
+        sudo apt-get install gfortran libopenmpi-dev openmpi-common openmpi-bin
+    - name: info
+      run: |
+        g++ -v
+        mpic++ -v
+        cmake --version
+    - name: build
+      run: |
+        # use our cmake version, as the runner has 3.19 installed, which is too new for deal.II
+        ./candi.sh -j 2 --packages="once:cmake once:openblas once:p4est dealii"
+        cd ~/deal.ii-candi/tmp/build/deal.II-* && cat detailed.log && make test
 
   osx-minimal:
-    name: OSX minimal build
+    name: OSX clang
     runs-on: [macos-latest]
 
     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
+        echo 'DEAL_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
         ./candi.sh -j 2 --packages="dealii"
-        cd ~/deal.ii-candi/tmp/build/deal.II-* && make test
+        cd ~/deal.ii-candi/tmp/build/deal.II-* && cat detailed.log && make test
 
-  osx-parallel:
-    name: OSX parallel build
+  osx-gcc:
+    name: OSX gcc
     runs-on: [macos-latest]
 
     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: |
@@ -57,5 +87,6 @@ jobs:
         export OMPI_CXX=g++-9
         export OMPI_CC=gcc-9
         export OMPI_FC=gfortran-9
+        echo 'DEAL_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
         ./candi.sh -j 2 --packages="once:p4est once:petsc dealii"
-        cd ~/deal.ii-candi/tmp/build/deal.II-* && make test
+        cd ~/deal.ii-candi/tmp/build/deal.II-* && cat detailed.log && make test

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.