chore(build): improve matrix entries for workflows

This commit is contained in:
fallenoak 2025-12-26 10:56:36 -06:00
parent 07233dffcf
commit ceb173e0e7
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 14 additions and 8 deletions

View File

@ -4,28 +4,31 @@ on: [pull_request]
jobs: jobs:
build: build:
name: ${{ matrix.config.name }} name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
runs-on: ${{ matrix.config.os }} runs-on: ${{ matrix.config.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
config: config:
- name: Ubuntu Latest (GCC) - os_name: Ubuntu Latest
compiler_name: GCC
os: ubuntu-latest os: ubuntu-latest
build_type: Debug build_type: Debug
test_path: WhoaTest test_path: WhoaTest
cc: gcc cc: gcc
cxx: g++ cxx: g++
- name: macOS Latest (Clang) - os_name: macOS Latest
compiler_name: Clang
os: macos-latest os: macos-latest
build_type: Debug build_type: Debug
test_path: WhoaTest test_path: WhoaTest
cc: clang cc: clang
cxx: clang++ cxx: clang++
- name: Windows Latest (MSVC) - os_name: Windows Latest
compiler_name: MSVC
os: windows-latest os: windows-latest
build_type: Debug build_type: Debug
test_path: WhoaTest test_path: WhoaTest

View File

@ -7,28 +7,31 @@ on:
jobs: jobs:
build: build:
name: ${{ matrix.config.name }} name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
runs-on: ${{ matrix.config.os }} runs-on: ${{ matrix.config.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
config: config:
- name: Ubuntu Latest (GCC) - os_name: Ubuntu Latest
compiler_name: GCC
os: ubuntu-latest os: ubuntu-latest
build_type: Release build_type: Release
test_path: WhoaTest test_path: WhoaTest
cc: gcc cc: gcc
cxx: g++ cxx: g++
- name: macOS Latest (Clang) - os_name: macOS Latest
compiler_name: Clang
os: macos-latest os: macos-latest
build_type: Release build_type: Release
test_path: WhoaTest test_path: WhoaTest
cc: clang cc: clang
cxx: clang++ cxx: clang++
- name: Windows Latest (MSVC) - os_name: Windows Latest
compiler_name: MSVC
os: windows-latest os: windows-latest
build_type: Release build_type: Release
test_path: WhoaTest test_path: WhoaTest