From 7b0664f4e49b52e598c9b4984902c3c349bc9eb2 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 14 Jul 2022 12:03:49 +0200 Subject: [PATCH] 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 Reviewed-by: --- .github/workflows/build_cmake.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index b532968d300..6033422b389 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