Update core-build.yml

This commit is contained in:
Yunfan Li
2024-03-04 19:50:01 +08:00
parent b95ea94fa5
commit 07f79729ca

View File

@@ -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. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
#
# 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 }}