From 90a4d41adfecdf3efc04b6092b415916e7edd21d Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Fri, 31 Mar 2023 11:39:01 +0200 Subject: [PATCH] bazel(ci): update * macos: uninstall bazelisk * linux: add --subcommands=true --- .github/workflows/bazel_linux.yml | 5 +++-- .github/workflows/bazel_macos.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bazel_linux.yml b/.github/workflows/bazel_linux.yml index d8c55d0a18..3487f21d6d 100644 --- a/.github/workflows/bazel_linux.yml +++ b/.github/workflows/bazel_linux.yml @@ -27,8 +27,9 @@ jobs: echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list sudo apt-get update sudo apt-get install bazel - bazel --version + - name: Check Bazel + run: bazel version - name: Build - run: bazel build -c opt --cxxopt=-std=c++17 //ortools/... //examples/... + run: bazel build -c opt --cxxopt=-std=c++17 --subcommands=true //ortools/... //examples/... - name: Test run: bazel test -c opt --cxxopt=-std=c++17 --test_output=errors //ortools/... //examples/... diff --git a/.github/workflows/bazel_macos.yml b/.github/workflows/bazel_macos.yml index 77c37e89f6..f7ec2339d4 100644 --- a/.github/workflows/bazel_macos.yml +++ b/.github/workflows/bazel_macos.yml @@ -19,7 +19,8 @@ jobs: - name: Install Bazel run: | brew update - #brew install bazel + brew unlink bazelisk + brew install bazel - name: Check Bazel run: bazel version - name: Build