bazel(ci): update
* macos: uninstall bazelisk * linux: add --subcommands=true
This commit is contained in:
5
.github/workflows/bazel_linux.yml
vendored
5
.github/workflows/bazel_linux.yml
vendored
@@ -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/...
|
||||
|
||||
3
.github/workflows/bazel_macos.yml
vendored
3
.github/workflows/bazel_macos.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user