mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
chore(build): rename build entries in matrix config
This commit is contained in:
parent
79173f8f02
commit
fc1d3310f5
12
.github/workflows/pr.yml
vendored
12
.github/workflows/pr.yml
vendored
@ -5,12 +5,12 @@ on: [pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
|
name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.build.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
build:
|
||||||
- os_name: Ubuntu Latest
|
- os_name: Ubuntu Latest
|
||||||
compiler_name: GCC
|
compiler_name: GCC
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
@ -59,17 +59,17 @@ jobs:
|
|||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build.build_type }}
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build . --config ${{ matrix.config.build_type }}
|
run: cmake --build . --config ${{ matrix.build.build_type }}
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --install . --config ${{ matrix.config.build_type }}
|
run: cmake --install . --config ${{ matrix.build.build_type }}
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ../../build/dist/bin/${{ matrix.config.test_path }}
|
run: ../../build/dist/bin/${{ matrix.build.test_path }}
|
||||||
working-directory: test/fixture
|
working-directory: test/fixture
|
||||||
|
|||||||
12
.github/workflows/push.yml
vendored
12
.github/workflows/push.yml
vendored
@ -8,12 +8,12 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
|
name: ${{ matrix.build.os_name }} (${{ matrix.build.compiler_name }})
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.build.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
build:
|
||||||
- os_name: Ubuntu Latest
|
- os_name: Ubuntu Latest
|
||||||
compiler_name: GCC
|
compiler_name: GCC
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
@ -58,17 +58,17 @@ jobs:
|
|||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build.build_type }}
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build . --config ${{ matrix.config.build_type }}
|
run: cmake --build . --config ${{ matrix.build.build_type }}
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --install . --config ${{ matrix.config.build_type }}
|
run: cmake --install . --config ${{ matrix.build.build_type }}
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ../../build/dist/bin/${{ matrix.config.test_path }}
|
run: ../../build/dist/bin/${{ matrix.build.test_path }}
|
||||||
working-directory: test/fixture
|
working-directory: test/fixture
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user