From 0a3dfcb12f571c951ce72061201aec0f4c75344e Mon Sep 17 00:00:00 2001 From: Brice Videau Date: Tue, 28 Mar 2023 10:54:31 -0500 Subject: [PATCH 1/2] Update Ubuntu version. Container is still Ubuntu 18.04. --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 87f296b6..9c1733b0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: compatibility: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 container: streamhpc/opencl-sdk-base:ubuntu-18.04-20220127 strategy: matrix: From b5e36bc4df823a1f2915e61e33ec0b4a01a870f1 Mon Sep 17 00:00:00 2001 From: Brice Videau Date: Tue, 28 Mar 2023 11:10:28 -0500 Subject: [PATCH 2/2] Update MacOS to install gcc versions that may be missing. --- .github/workflows/macos.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 4e4092f2..fa790349 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -24,6 +24,10 @@ jobs: # Install Ninja only if it's the selected generator and it's not available. cmake --version + - name: Install gcc if required + run: | + if [[ ! `which /usr/local/bin/gcc-${{matrix.VER}}` ]]; then brew install gcc@${{matrix.VER}}; fi; + - name: Configure CMake shell: bash run: cmake