Make names more speaking and use dflt goals for bazel.
- In the CI-pipeline rename `build` to `cmake-build` and `bz-build` to `bazel-build`. - Use '...' as target for the bazel operations.
This commit is contained in:
parent
fa744bbbe2
commit
71e76f1509
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
cmake-build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: cd build && ctest --output-on-failure
|
run: cd build && ctest --output-on-failure
|
||||||
|
|
||||||
bz-build:
|
bazel-build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
@ -52,13 +52,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd "${{ github.workspace }}"
|
cd "${{ github.workspace }}"
|
||||||
bazel build '//:yaml-cpp'
|
bazel build ...
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd "${{ github.workspace }}"
|
cd "${{ github.workspace }}"
|
||||||
# For some reason 'bazel test //test:test' gets the first / stripped on windows in CI.
|
bazel test ...
|
||||||
# Therefore use this ugly version, which is working on all platforms.
|
|
||||||
bazel test test
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user