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 ]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
cmake-build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
@ -40,7 +40,7 @@ jobs:
|
||||
shell: bash
|
||||
run: cd build && ctest --output-on-failure
|
||||
|
||||
bz-build:
|
||||
bazel-build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
@ -52,13 +52,11 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
cd "${{ github.workspace }}"
|
||||
bazel build '//:yaml-cpp'
|
||||
bazel build ...
|
||||
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: |
|
||||
cd "${{ github.workspace }}"
|
||||
# For some reason 'bazel test //test:test' gets the first / stripped on windows in CI.
|
||||
# Therefore use this ugly version, which is working on all platforms.
|
||||
bazel test test
|
||||
bazel test ...
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user