Update library, styleguide versions #256
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bazel | |
on: [pull_request, push] | |
jobs: | |
build-native: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { os: windows-latest, architecture: x64, config: "" } | |
- { os: windows-latest, architecture: x64, config: "--enable_bzlmod" } | |
- { os: macos-latest, architecture: x64, config: "" } | |
- { os: macos-latest, architecture: x64, config: "--enable_bzlmod" } | |
- { os: ubuntu-latest, architecture: x64, config: "" } | |
- { os: ubuntu-latest, architecture: x64, config: "--enable_bzlmod" } | |
name: "Build - ${{ matrix.os }} ${{ matrix.architecture }} ${{ matrix.config }}" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: bazelbuild/setup-bazelisk@v3 | |
# Unix systems sometimes fail to create the symlink the first time around | |
- name: Build (Allow failure) | |
run: bazel build ... --nojava_header_compilation -k ${{ matrix.config }} || true | |
shell: bash | |
- name: Build | |
run: bazel build ... -k ${{ matrix.config }} | |
shell: bash | |
build-native-testless: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { os: ubuntu-latest, architecture: x64, config: "--config=for-roborio" } | |
- { os: ubuntu-latest, architecture: x64, config: "--config=for-roborio --enable_bzlmod" } | |
name: "Build - ${{ matrix.os }} ${{ matrix.architecture }} ${{ matrix.config }}" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: bazelbuild/setup-bazelisk@v3 | |
- name: Build | |
run: bazel build ... --nojava_header_compilation -k ${{ matrix.config }} | |
shell: bash | |
repin-maven: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bazelbuild/setup-bazelisk@v3 | |
- run: bazel run @unpinned_maven//:pin | |
- run: git diff HEAD | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Re-pinned maven | |
path: build_scripts/bazel/deps/maven_install.json |