forked from rmohr/bazeldnf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: adding a job to test bzlmod integration
Testing bzlmod CI to test the integration
- Loading branch information
1 parent
e1a4bc5
commit 26241d4
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 ... |