summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Videau <brice.videau@gmail.com>2023-03-28 15:52:03 -0500
committerGitHub <noreply@github.com>2023-03-28 13:52:03 -0700
commit8c4f0111ccf2350a51655d8bbe862c7405f2c0db (patch)
treeff395f7e67f9c9ebf6412ba320bf3685c8a6e85e
parent9ddb236e6eb3cf844f9e2f81677e1045f9bf838e (diff)
downloadOpenCL-Headers-8c4f0111ccf2350a51655d8bbe862c7405f2c0db.tar.gz
CI Fixes (#225)
* Update Ubuntu version. Container is still Ubuntu 18.04. * Update MacOS to install gcc versions that may be missing.
-rw-r--r--.github/workflows/linux.yml2
-rw-r--r--.github/workflows/macos.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 87f296b..9c1733b 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:
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 4e4092f..fa79034 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