From e61cfb3ad4ce513ae8b9c5d2f860494e96389f41 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 20 Jan 2021 11:04:22 -0500 Subject: [PATCH] take over CI from master --- .github/workflows/main.yml | 49 +++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index acfa611..8e36095 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 -- 2.39.5