From: Timo Heister Date: Sun, 29 Dec 2019 20:51:52 +0000 (-0500) Subject: use github-ci for OSX X-Git-Tag: v9.2.0-rc1~690^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa9a2f45810403e70d30e25d71681075abb80288;p=dealii.git use github-ci for OSX --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..d3a32e457e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,63 @@ +name: github-CI + +on: [push, pull_request] + +jobs: + osx-serial: + # simple serial build using apple clang + + name: OSX serial build + runs-on: [macos-latest] + + steps: + - uses: actions/checkout@v1 + - name: info + run: | + g++ -v + cmake --version + - name: configure + run: | + cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_CXX_FLAGS='-Werror' . + - name: archive + uses: actions/upload-artifact@v1 + with: + name: detailed.log + path: detailed.log + - name: build + run: | + make -j 2 + make -j 2 test # quicktests + + osx-parallel: + # MPI build using apple clang + + name: OSX parallel build + runs-on: [macos-latest] + + steps: + - uses: actions/checkout@v1 + - name: setup + run: | + brew install openmpi + cmake --version + # uncomment these for a gcc based build + #export OMPI_CXX=g++-9 + #export OMPI_CC=gcc-9 + #export OMPI_FC=gfortran-9 + - name: info + run: | + g++-9 -v + mpicxx -v + cmake --version + - name: configure + run: | + CC=mpicc CXX=mpic++ cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_WITH_MPI=on . + - name: archive + uses: actions/upload-artifact@v1 + with: + name: detailed.log + path: detailed.log + - name: build + run: | + make -j 2 + make -j 2 test #quicktests