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:
build:
name: ${{ matrix.config.name }}
name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- name: Ubuntu Latest (GCC)
- os_name: Ubuntu Latest
compiler_name: GCC
os: ubuntu-latest
build_type: Debug
test_path: WhoaTest
cc: gcc
cxx: g++
- name: macOS Latest (Clang)
- os_name: macOS Latest
compiler_name: Clang
os: macos-latest
build_type: Debug
test_path: WhoaTest
cc: clang
cxx: clang++
- name: Windows Latest (MSVC)
- os_name: Windows Latest
compiler_name: MSVC
os: windows-latest
build_type: Debug
test_path: WhoaTest

View File

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