summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Leech <devrel@oddhack.org>2020-12-19 14:25:02 -0800
committerGitHub <noreply@github.com>2020-12-19 22:25:02 +0000
commit7edca72746c9fc5de5db0acd1fc245cb8ef1b29d (patch)
tree26caf70ef69f52aae6d0a4118913267c34628f0a
parentc57ba81c460ee97b6b9d0b8d18faf5ba6883114b (diff)
downloadOpenCL-Headers-7edca72746c9fc5de5db0acd1fc245cb8ef1b29d.tar.gz
OpenCL-Headers-7edca72746c9fc5de5db0acd1fc245cb8ef1b29d.tar.bz2
OpenCL-Headers-7edca72746c9fc5de5db0acd1fc245cb8ef1b29d.zip
Update apt package list in CI before running cmake (#143)
* Update apt before it's invoked by cmake
-rw-r--r--.github/workflows/cmake.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index d770a6a..6446c4e 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -18,7 +18,8 @@ jobs:
- uses: actions/checkout@v2
- name: Create Build Environment
- run: cmake -E make_directory $GITHUB_WORKSPACE/build;
+ run: sudo apt-get update -q;
+ cmake -E make_directory $GITHUB_WORKSPACE/build;
cmake -E make_directory $GITHUB_WORKSPACE/install;
cmake -E make_directory $GITHUB_WORKSPACE/downstream/pkgconfig/bare;
cmake -E make_directory $GITHUB_WORKSPACE/downstream/pkgconfig/sdk;
@@ -357,4 +358,4 @@ jobs:
shell: bash
run: |
cmake --build $GITHUB_WORKSPACE/downstream/pkgconfig/sdk --config Release
- cmake --build $GITHUB_WORKSPACE/downstream/pkgconfig/sdk --config Debug \ No newline at end of file
+ cmake --build $GITHUB_WORKSPACE/downstream/pkgconfig/sdk --config Debug