-
Notifications
You must be signed in to change notification settings - Fork 147
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
Open
jsturtevant
wants to merge
9
commits into
hyperlight-dev:main
Choose a base branch
from
jsturtevant:build-musl
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
524941e
Add target triple support to justfile
jsturtevant 158c55b
Disable seccomp for musl target
jsturtevant 8356e44
Fix a race condition in this test
jsturtevant fd12214
Refactor dep_rust so it is re-usable in new nightly job
jsturtevant 059a896
Refactor CI failure and add to nightly job
jsturtevant ff140e3
Filter the location to a local path relative to the project
jsturtevant 443deaa
fixup! Refactor CI failure and add to nightly job
jsturtevant 112bbdc
fixup! Disable seccomp for musl target
jsturtevant bc87e54
Update devcontainer with tools for musl
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" | ||
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.