Skip to content

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

Merged
alexcrichton merged 1 commit intoWebAssembly:mainfrom
alexcrichton:test-only-sysroot-in-ci
Jul 31, 2024
Merged

Add a test on CI that just the sysroot can be built#465
alexcrichton merged 1 commit intoWebAssembly:mainfrom
alexcrichton:test-only-sysroot-in-ci

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
@alexcrichton alexcrichton deleted the test-only-sysroot-in-ci branch March 11, 2026 14:52
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