chore(build): rename build entries in matrix config

This commit is contained in:
fallenoak 2025-12-26 11:01:13 -06:00
parent 79173f8f02
commit fc1d3310f5
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 12 additions and 12 deletions

View File

@ -5,12 +5,12 @@ on: [pull_request]
jobs:
build:
name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
runs-on: ${{ matrix.config.os }}
runs-on: ${{ matrix.build.os }}
strategy:
fail-fast: false
matrix:
config:
build:
- os_name: Ubuntu Latest
compiler_name: GCC
os: ubuntu-latest
@ -59,17 +59,17 @@ jobs:
run: mkdir build
- name: Configure
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build.build_type }}
working-directory: build
- name: Build
run: cmake --build . --config ${{ matrix.config.build_type }}
run: cmake --build . --config ${{ matrix.build.build_type }}
working-directory: build
- name: Install
run: cmake --install . --config ${{ matrix.config.build_type }}
run: cmake --install . --config ${{ matrix.build.build_type }}
working-directory: build
- name: Test
run: ../../build/dist/bin/${{ matrix.config.test_path }}
run: ../../build/dist/bin/${{ matrix.build.test_path }}
working-directory: test/fixture

View File

@ -8,12 +8,12 @@ on:
jobs:
build:
name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
runs-on: ${{ matrix.config.os }}
runs-on: ${{ matrix.build.os }}
strategy:
fail-fast: false
matrix:
config:
build:
- os_name: Ubuntu Latest
compiler_name: GCC
os: ubuntu-latest
@ -58,17 +58,17 @@ jobs:
run: mkdir build
- name: Configure
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build.build_type }}
working-directory: build
- name: Build
run: cmake --build . --config ${{ matrix.config.build_type }}
run: cmake --build . --config ${{ matrix.build.build_type }}
working-directory: build
- name: Install
run: cmake --install . --config ${{ matrix.config.build_type }}
run: cmake --install . --config ${{ matrix.build.build_type }}
working-directory: build
- name: Test
run: ../../build/dist/bin/${{ matrix.config.test_path }}
run: ../../build/dist/bin/${{ matrix.build.test_path }}
working-directory: test/fixture