Skip to content

Commit

Permalink
ci: adding a job to test bzlmod integration
Browse files Browse the repository at this point in the history
Testing bzlmod CI to test the integration
  • Loading branch information
manuelnaranjo committed Sep 9, 2024
1 parent e1a4bc5 commit 26241d4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,24 @@ jobs:
import %workspace%/../../.aspect/bazelrc/ci.bazelrc
import %workspace%/../../.github/workflows/ci.bazelrc
- run: cd e2e/bazel-bzlmod-toolchain-from-source && USE_BAZEL_VERSION=${{ matrix.config.version }} bazelisk build //... ${{ matrix.config.flags }}

e2e-bzlmod-lock-file-from-args:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bazel-contrib/[email protected]
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Keep a disk-cache
disk-cache: true
# Share repository cache between workflows.
repository-cache: true
# enable some flags for CI
bazelrc: |
import %workspace%/../../.aspect/bazelrc/ci.bazelrc
import %workspace%/../../.github/workflows/ci.bazelrc
- run: |
cd e2e/bzlmod-lock-file-from-args && \
bazelisk run @bazeldnf_rpms//:update-lock-file && \
bazelisk build ...

0 comments on commit 26241d4

Please sign in to comment.