Skip to content

Commit

Permalink
CI: switching to GCC 8 for the moment (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Feb 16, 2021
1 parent 4c0aa26 commit 695aaf4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
config: -DBUILD_TESTS=1 -DBUILD_EXAMPLES=1
conda: environment.yaml
prop: tests & examples
compiler: gcc
gcc: 8
- runs-on: macos-latest
config: -DBUILD_TESTS=1 -DBUILD_EXAMPLES=0
conda: environment_no-examples.yaml
Expand Down Expand Up @@ -51,6 +53,12 @@ jobs:
activate-environment: test
auto-activate-base: false

- name: Select GCC
if: matrix.gcc
run: |
echo "CC=gcc-${{ matrix.gcc }}" >> $GITHUB_ENV
echo "CXX=g++-${{ matrix.gcc }}" >> $GITHUB_ENV
- name: Configure using CMake (!Windows)
if: runner.os != 'Windows'
run: cmake . ${{ matrix.config }}
Expand Down

0 comments on commit 695aaf4

Please sign in to comment.