From 16ab509814b9e9cdc2d54a36f4f248d43b65eff5 Mon Sep 17 00:00:00 2001 From: sfarrens Date: Sat, 19 Oct 2024 14:34:09 +0200 Subject: [PATCH] test Ubuntu with gcc-9 --- .github/workflows/ci-dev.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-dev.yml b/.github/workflows/ci-dev.yml index 1c08b90f..ed313de1 100644 --- a/.github/workflows/ci-dev.yml +++ b/.github/workflows/ci-dev.yml @@ -22,7 +22,9 @@ jobs: - name: Install Linux dependencies if: runner.os == 'Linux' - run: sudo apt-get install libopenblas-dev + run: | + sudo apt-get install libopenblas-dev gcc-9 g++-9 + - name: Install macOS Dependencies shell: bash -l {0} @@ -40,10 +42,18 @@ jobs: auto-activate-base: true miniforge-version: latest - - name: Install package + - name: Install package (Linux) shell: bash -l {0} - run: | - ./install_shapepipe --env-dev --develop + env: + CC: gcc-9 + CXX: g++-9 + if: runner.os == 'Linux' + run: ./install_shapepipe --env-dev --develop + + - name: Install package (macOS) + shell: bash -l {0} + if: runner.os == 'macOS' + run: ./install_shapepipe --env-dev --develop - name: Run tests shell: bash -l {0}