Skip to content

Commit

Permalink
[ci] Add a darjeeling job
Browse files Browse the repository at this point in the history
This check verifies that the build graph sense when the top is set
to Darjeeling. Furthermore, it tries to build a restricted set of
tests for Darjeeling DV (currently only the uart_smoketest). The
purpose of this check is to prevent regression while the codebase
is being converted to multitop.

Signed-off-by: Amaury Pouly <[email protected]>
  • Loading branch information
pamaury committed Feb 7, 2025
1 parent 3e5fb83 commit 942fe24
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,31 @@ jobs:
run: ./ci/scripts/check-unrunnable-tests.sh
continue-on-error: true

dj_sw_build_test:
name: Build and test Darjeeling software
runs-on: ubuntu-22.04-vivado
timeout-minutes: 120
needs: quick_lint
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for bitstream cache to work.
- name: Prepare environment
uses: ./.github/actions/prepare-env
with:
service_account_json: '${{ secrets.BAZEL_CACHE_CREDS }}'
- name: Check Bazel build graph
run: |
# Test the graph with both an empty and filled bitstream cache.
./ci/scripts/test-empty-bitstream-cache.sh
./bazelisk.sh build --nobuild --//hw/top=darjeeling //...
- name: Build software targets
run: |
# Compile some selected targets
./bazelisk.sh build \
--build_tests_only=false \
//sw/device/tests:uart_smoketest_sim_dv
qemu_smoketest:
name: QEMU smoketest
runs-on: ubuntu-22.04-vivado
Expand Down

0 comments on commit 942fe24

Please sign in to comment.