From 6969e2cacd7f2b93a60fba95132d46cb21383c60 Mon Sep 17 00:00:00 2001 From: Huang-Ming Huang Date: Sat, 28 Sep 2024 10:26:32 -0500 Subject: [PATCH] workflow fix --- .github/workflows/linux.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6f5d2e9..fdb3633 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -29,13 +29,13 @@ build_type: [Release, Debug] sanitize: [yes] include: + - protoc: find - compiler: gcc-12 gcov_executable: gcov protoc: compile - compiler: llvm-18.1.1 gcov_executable: "llvm-cov gcov" - protoc: find runs-on: ubuntu-24.04 env: @@ -68,10 +68,7 @@ - name: configure run: | - cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ - -DHPP_PROTO_PROTOC=${{ matrix.protoc }} \ - -HPP_PROTO_ENABLE_SANITIZER=${{ matrix.sanitize }} \ - -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache + cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DHPP_PROTO_PROTOC=${{ matrix.protoc }} -HPP_PROTO_ENABLE_SANITIZER=${{ matrix.sanitize }} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache - name: build run: cmake --build build -j${{env.nproc}}