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