-
Notifications
You must be signed in to change notification settings - Fork 148
Add a periodic job for building and test musl #849
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
Merged
+428
−289
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3e45ca5
Add target triple support to justfile
jsturtevant 0b48c00
Disable seccomp for musl target
jsturtevant 2d65dcf
Fix a race condition in this test
jsturtevant 511f34e
Refactor dep_rust so it is re-usable in new nightly job
jsturtevant 31b2ad9
Refactor CI failure and add to nightly job
jsturtevant 46d17c2
Filter the location to a local path relative to the project
jsturtevant d4d4b9a
Update devcontainer with tools for musl
jsturtevant 3cd8b26
Add Release blocker label
jsturtevant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
|
||
name: Nightly | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# 12:00 AM, every 2 days | ||
- cron: '0 0 */2 * *' | ||
|
||
jobs: | ||
musl: | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
hypervisor: [kvm, mshv3] | ||
cpu: [amd, intel] | ||
config: [debug, release] | ||
uses: ./.github/workflows/dep_rust.yml | ||
secrets: inherit | ||
with: | ||
hypervisor: ${{ matrix.hypervisor }} | ||
cpu: ${{ matrix.cpu }} | ||
config: ${{ matrix.config }} | ||
target_triple: x86_64-unknown-linux-musl | ||
|
||
notify-failure: | ||
runs-on: ubuntu-latest | ||
needs: musl | ||
if: always() && needs.musl.result == 'failure' | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v5 | ||
|
||
- name: Notify Nightly Failure | ||
run: ./dev/notify-ci-failure.sh --title="Nightly musl Failure - ${{ github.run_number }}" --labels="area/ci-periodics,area/testing,kind/bug,lifecycle/needs-review,release-blocker" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[build] | ||
pre-build = [ | ||
"apt-get update && apt-get -y install gdb" | ||
] | ||
|
||
[build.env] | ||
passthrough = [ | ||
"TARGET_TRIPLE", # Some tests invoke Cargo directly and need this to run correctly | ||
] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.