From d6b48047a68ff86ccae1232e3be8ad9a42af7495 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 7 Oct 2024 12:04:59 -0700 Subject: [PATCH] Run the nightly CI job when `pulley` files are touched in a PR After https://github.com/bytecodealliance/wasmtime/pull/9251, we will check that Pulley builds with rustc's experimental tail calls feature enabled in the nightly CI job. So if we touch any pulley source files in a PR, we should also run that job in the PR's CI. --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c6212b4854f5..a6cf57b83204 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -246,6 +246,9 @@ jobs: if grep -q debug names.log; then echo run-dwarf=true >> $GITHUB_OUTPUT fi + if grep -q pulley commits.log; then + echo test-nightly=true >> $GITHUB_OUTPUT + fi fi matrix="$(node ./ci/build-test-matrix.js ./commits.log ./names.log $run_full)" echo "test-matrix={\"include\":$(echo $matrix)}" >> $GITHUB_OUTPUT