From 71e76f1509e5a2b850866f87b2baa71042329e6f Mon Sep 17 00:00:00 2001 From: Andre Vehreschild Date: Thu, 21 Apr 2022 08:24:14 +0200 Subject: [PATCH] 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. --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb7cf31..8c27e79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 ...