Skip to content

Commit 82d9159

Browse files
committed
[Priroda] Add build-only CI job
1 parent 9aa390e commit 82d9159

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

  • src/tools/miri/.github/workflows

src/tools/miri/.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,18 @@ jobs:
155155
cd ../rust # ./x does not seem to like being invoked from elsewhere
156156
./x check miri
157157
158+
# This job is intentionally separate from `test` so that Priroda can be
159+
# developed as a separate crate inside the Miri repository for now.
160+
priroda-build:
161+
name: Priroda
162+
runs-on: ubuntu-latest
163+
steps:
164+
- uses: actions/checkout@v6
165+
- uses: ./.github/workflows/setup
166+
- name: build Priroda
167+
working-directory: priroda
168+
run: cargo build --locked
169+
158170
coverage:
159171
name: coverage report
160172
runs-on: ubuntu-latest
@@ -168,7 +180,7 @@ jobs:
168180
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
169181
# And they should be added below in `cron-fail-notify` as well.
170182
conclusion:
171-
needs: [test, style, bootstrap, coverage]
183+
needs: [test, style, bootstrap, coverage, priroda-build]
172184
# We need to ensure this job does *not* get skipped if its dependencies fail,
173185
# because a skipped job is considered a success by GitHub. So we have to
174186
# overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
@@ -252,7 +264,7 @@ jobs:
252264
cron-fail-notify:
253265
name: cronjob failure notification
254266
runs-on: ubuntu-latest
255-
needs: [test, style, bootstrap, coverage]
267+
needs: [test, style, bootstrap, coverage, priroda-build]
256268
if: ${{ github.event_name == 'schedule' && failure() }}
257269
steps:
258270
# Send a Zulip notification

0 commit comments

Comments
 (0)