Add common setup helper #13
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-presubmit | |
on: | |
push: | |
branches: | |
- 'fix-bazel-build-2024-10-03' | |
jobs: | |
bazel-build-check: | |
continue-on-error: true | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Bazel Pico SDK CI setup | |
uses: ./.github/workflows/scripts/common-bazel-setup.yml | |
- name: Full bazel build | |
run: python3 tools/bazel_build.py | |
- name: Fetch latest Picotool | |
uses: actions/checkout@v4 | |
with: | |
repository: raspberrypi/picotool | |
ref: develop | |
fetch-depth: 0 | |
path: lib/picotool | |
- name: Bazel Picotool backwards compatibility | |
run: bazel build @picotool//:picotool |