Skip to content

Commit

Permalink
Run the nightly CI job when pulley files are touched in a PR
Browse files Browse the repository at this point in the history
After bytecodealliance#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.
  • Loading branch information
fitzgen committed Oct 7, 2024
1 parent 38e948e commit d6b4804
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6b4804

Please sign in to comment.