forked from qt-creator/qt-creator
GitHub Workflow: run apt update before installing dependencies
Change-Id: I5b9f7d980490209e43994af09c9e3266f13103bd Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
committed by
Alessandro Portale
parent
4a971127ac
commit
ad4040972b
9
.github/workflows/build_cmake.yml
vendored
9
.github/workflows/build_cmake.yml
vendored
@@ -227,8 +227,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if ("${{ runner.os }}" STREQUAL "Linux")
|
if ("${{ runner.os }}" STREQUAL "Linux")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND sudo apt install libgl1-mesa-dev
|
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()
|
endif()
|
||||||
|
|
||||||
- name: Download Googletest
|
- name: Download Googletest
|
||||||
|
|||||||
Reference in New Issue
Block a user