From 02352143b822f35d2e814503b538a84d70d4d992 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 24 Jun 2020 07:45:59 -0400 Subject: [PATCH] separate osx github actions --- .github/workflows/main.yml | 66 +----------------------------------- .github/workflows/osx.yml | 68 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 65 deletions(-) create mode 100644 .github/workflows/osx.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 460661c319..ff0fd6ad70 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: github-CI +name: github-linux on: [push, pull_request] @@ -29,67 +29,3 @@ jobs: - name: build run: | make -j 2 - - osx-serial: - # simple serial build using apple clang - - name: OSX serial - runs-on: [macos-latest] - - steps: - - uses: actions/checkout@v2 - - name: setup - run: | - ./contrib/utilities/download_clang_format - - 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: serial-detailed.log - path: detailed.log - - name: build - run: | - make -j 2 - make -j 2 test # quicktests - - osx-parallel64: - # MPI build using apple clang and 64 bit indices - - name: OSX parallel 64bit - runs-on: [macos-latest] - - steps: - - uses: actions/checkout@v2 - - 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 - ./contrib/utilities/download_clang_format - - 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_WITH_64BIT_INDICES=ON -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_WITH_MPI=on . - - name: archive - uses: actions/upload-artifact@v1 - with: - name: parallel-detailed.log - path: detailed.log - - name: build - run: | - make -j 2 - make -j 2 test #quicktests - diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml new file mode 100644 index 0000000000..a4abeaeba8 --- /dev/null +++ b/.github/workflows/osx.yml @@ -0,0 +1,68 @@ +name: github-OSX + +on: [push, pull_request] + +jobs: + osx-serial: + # simple serial build using apple clang + + name: OSX serial + runs-on: [macos-latest] + + steps: + - uses: actions/checkout@v2 + - name: setup + run: | + ./contrib/utilities/download_clang_format + - 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: serial-detailed.log + path: detailed.log + - name: build + run: | + make -j 2 + make -j 2 test # quicktests + + osx-parallel64: + # MPI build using apple clang and 64 bit indices + + name: OSX parallel 64bit + runs-on: [macos-latest] + + steps: + - uses: actions/checkout@v2 + - 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 + ./contrib/utilities/download_clang_format + - 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_WITH_64BIT_INDICES=ON -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_WITH_MPI=on . + - name: archive + uses: actions/upload-artifact@v1 + with: + name: parallel-detailed.log + path: detailed.log + - name: build + run: | + make -j 2 + make -j 2 test #quicktests + -- 2.39.5