diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-01-20 16:48:38 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2020-01-20 15:52:01 +0000 |
commit | ad4040972b9d763b2ceaa7444d18e65dd3da2ee9 (patch) | |
tree | 8a4cc4a7cd8d5563f3e37628f541660ac3f7e090 /.github | |
parent | 4a971127ac06fc81bc503085264ec8fecaa95bc3 (diff) |
GitHub Workflow: run apt update before installing dependencies
Change-Id: I5b9f7d980490209e43994af09c9e3266f13103bd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_cmake.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 0826a8d1328..6a46b21010a 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -227,8 +227,15 @@ jobs: run: | if ("${{ runner.os }}" STREQUAL "Linux") execute_process( + COMMAND sudo apt update + ) + execute_process( COMMAND sudo apt install libgl1-mesa-dev + RESULT_VARIABLE result ) + if (NOT result EQUAL 0) + message(FATAL_ERROR "Failed to install dependencies") + endif() endif() - name: Download Googletest |