From 695aaf4956eb36713415b532a91255f62cb8b564 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Tue, 16 Feb 2021 18:28:17 +0100 Subject: [PATCH] CI: switching to GCC 8 for the moment (#51) --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7b2472e7..89c055dd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 }}