From 07f79729ca05f42d2e75d9ffa4405f119f40a94b Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Mon, 4 Mar 2024 19:50:01 +0800 Subject: [PATCH] Update core-build.yml --- .github/workflows/core-build.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/core-build.yml b/.github/workflows/core-build.yml index 8bfed7a9..32d9ee66 100644 --- a/.github/workflows/core-build.yml +++ b/.github/workflows/core-build.yml @@ -10,25 +10,21 @@ on: jobs: build: - runs-on: ${{ matrix.os }} - strategy: # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. fail-fast: false - - # Set up a matrix to run the following 3 configurations: - # 1. - # 2. - # 3. - # - # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. matrix: # the result of the matrix will be the combination of all attributes, so we get os*compiler builds include: - os: ubuntu-20.04 - compiler: clang12 + c_compiler: clang12 + cpp_compiler: clang12++ + build_type: Release - os: ubuntu-20.04 - compiler: gcc10 + c_compiler: gcc10 + cpp_compiler: g++10 + build_type: Release + runs-on: ${{ matrix.os }} name: ${{ matrix.os }}-${{ matrix.compiler }}