diff options
author | Cristian Adam <cristian.adam@qt.io> | 2022-07-14 12:03:49 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2022-07-14 12:19:24 +0000 |
commit | 7b0664f4e49b52e598c9b4984902c3c349bc9eb2 (patch) | |
tree | 9c7a6906ce24e8e82771bd1cced49569d25a63e2 /.github | |
parent | 4adf6c833dba177131a6042a94d57844958b630f (diff) | |
download | qt-creator-7b0664f4e49b52e598c9b4984902c3c349bc9eb2.tar.gz |
GitHub Actions: Update the docker alpine image used for tests
Also increase timeout to 300s.
Currently only the Linux runner is running the docker test,
and building on Linux is usually the fastest. Should not
affect the overall job time.
Change-Id: Ie7aa72da1ffac987ef732ad0fb8076d473d00185
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_cmake.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index b532968d30..6033422b38 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -155,6 +155,12 @@ jobs: execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf ./toolchain.7z) endif() + # For tests update the docker image + find_program(docker_executable docker) + if (docker_executable) + execute_process(COMMAND ${docker_executable} pull alpine:latest COMMAND_ECHO STDOUT) + endif() + - name: Download Qt id: qt shell: cmake -P {0} @@ -617,7 +623,7 @@ jobs: endif() execute_process( - COMMAND ${ctest_launcher} ctest -j ${N} --timeout 60 --label-exclude exclude_from_precheck --exclude-regex tst_perfdata + COMMAND ${ctest_launcher} ctest -j ${N} --timeout 300 --label-exclude exclude_from_precheck --exclude-regex tst_perfdata WORKING_DIRECTORY build/build RESULT_VARIABLE result OUTPUT_VARIABLE output |