From 26ccc04122bd39580ea9d7e811b5b034caf8c85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yohann=20B=C3=A9n=C3=A9dic?= Date: Sun, 21 Jan 2024 18:28:45 +0100 Subject: [PATCH] ljhjsqkd --- .github/workflows/code_format.yml | 3 +-- .github/workflows/coverage.yml | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/code_format.yml b/.github/workflows/code_format.yml index 0eefe14..d07be95 100644 --- a/.github/workflows/code_format.yml +++ b/.github/workflows/code_format.yml @@ -5,8 +5,7 @@ jobs: cmake-format: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - name: Format CMake files uses: PuneetMatharu/cmake-format-lint-action@v1.0.1 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 1a77f0d..89e47d3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -6,8 +6,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - submodules: 'true' - name: Get latest cmake uses: lukka/get-cmake@latest @@ -22,13 +20,13 @@ jobs: gcov --version - name: Configure - run: cmake -S . -B build -D VCPKG_TARGET_TRIPLET=x64-linux --toolchain "${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" env: - CXXFLAGS: --coverage -fprofile-abs-path -O0 - CFLAGS: --coverage -fprofile-abs-path -O0 + CXXFLAGS: --coverage -fprofile-abs-path -g -O0 + CFLAGS: --coverage -fprofile-abs-path -g -O0 LDFLAGS: --coverage CC: gcc-13 CXX: g++-13 + run: cmake -S . -B build -D VCPKG_TARGET_TRIPLET=x64-linux --toolchain "${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" - name: Build run: cmake --build build --parallel