From bd1e052c2e3664acb95798451f6631414081700b Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 21 Aug 2022 20:38:41 +0200 Subject: [PATCH] :alembic: try to install Git before checkout --- .github/workflows/ubuntu.yml | 4 ++++ cmake/ci.cmake | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index ac71542ba..6a0863c16 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -125,6 +125,8 @@ jobs: compiler: ['4', '5', '6', '7', '8', '9', '10', '11', '12', 'latest'] container: gcc:${{ matrix.compiler }} steps: + - name: Install git + run: apt-get update ; apt-get install -y git - uses: actions/checkout@v3 - name: Get latest CMake and ninja uses: lukka/get-cmake@latest @@ -140,6 +142,8 @@ jobs: compiler: ['3.5', '3.6', '3.7', '3.8', '3.9', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', 'latest'] container: silkeh/clang:${{ matrix.compiler }} steps: + - name: Install git + run: apt-get update ; apt-get install -y git - uses: actions/checkout@v3 - name: Get latest CMake and ninja uses: lukka/get-cmake@latest diff --git a/cmake/ci.cmake b/cmake/ci.cmake index 874dda7e1..e650f1368 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -939,7 +939,7 @@ add_custom_target(ci_test_compiler_default -S${PROJECT_SOURCE_DIR} -B${PROJECT_BINARY_DIR}/build_compiler_default ${ADDITIONAL_FLAGS} COMMAND ${CMAKE_COMMAND} --build ${PROJECT_BINARY_DIR}/build_compiler_default --parallel ${N} - COMMAND cd ${PROJECT_BINARY_DIR}/build_compiler_default && ${CMAKE_CTEST_COMMAND} --parallel ${N} --exclude-regex "test-unicode" -LE git_required --output-on-failure + COMMAND cd ${PROJECT_BINARY_DIR}/build_compiler_default && ${CMAKE_CTEST_COMMAND} --parallel ${N} --exclude-regex "test-unicode" --output-on-failure COMMENT "Compile and test with default C++ compiler" )