Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test on CI that just the sysroot can be built #465

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

alexcrichton
Copy link
Collaborator

This commit adds a test and matrix entry to CI which asserts that the sysroot can be built to run tests using a stock Clang compiler found on the system. This fixes a few minor issues as well in developing this.

This additionally refactors CI a bit to move shared steps amongst jobs into separate composite actions in this repository to avoid duplication across jobs.

Comment on lines 72 to 74
- uses: actions/checkout@v4
with:
fetch-depth: 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you just want to move this into the new checkout action?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initially tried that yeah but ended up finding that using ./.github/... requires checking out first so this was required to be split out (alas)

This commit adds a test and matrix entry to CI which asserts that the
sysroot can be built to run tests using a stock Clang compiler found on
the system. This fixes a few minor issues as well in developing this.

This additionally refactors CI a bit to move shared steps amongst jobs
into separate composite actions in this repository to avoid duplication
across jobs.
@alexcrichton alexcrichton force-pushed the test-only-sysroot-in-ci branch from a3bcdaa to dd0b834 Compare July 31, 2024 18:42
@alexcrichton alexcrichton enabled auto-merge (squash) July 31, 2024 18:47
@alexcrichton alexcrichton merged commit dc74ff1 into WebAssembly:main Jul 31, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants