Skip to content

Add check against latest picotool #12

Add check against latest picotool

Add check against latest picotool #12

Workflow file for this run

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: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get Bazel
uses: bazel-contrib/setup-bazel@0.9.0
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Store build cache per workflow.
disk-cache: ${{ github.workflow }}
# Share repository cache between workflows.
repository-cache: true
# Only needed to drive the presbumit scripts.
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- 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 build latest picotool
run: bazel build @picotool//:picotool --override_module=picotool=lib/picotool