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:
Andre Vehreschild 2022-04-21 08:24:14 +02:00
parent fa744bbbe2
commit 71e76f1509

View File

@ -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 ...