-
Notifications
You must be signed in to change notification settings - Fork 13
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 workflow for testing Musl #40
base: main
Are you sure you want to change the base?
Conversation
@@ -27,6 +27,10 @@ on: | |||
type: string | |||
description: "Linux command to execute before building the Swift package" | |||
default: "" | |||
musl_pre_build_command: | |||
type: string | |||
description: "Linux command to execute before building the Swift package" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the description here just needs updated, as it's the same as the linux_pre_build_command
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- name: Install SDK | ||
run: swift sdk install https://download.swift.org/swift-6.0.1-release/static-sdk/swift-6.0.1-RELEASE/swift-6.0.1-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum d4f46ba40e11e697387468e18987ee622908bc350310d8af54eb5e17c2ff5481 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want a hardcoded checksum/artifact url hardcoded here? Or should they be inputs
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
container: swift:6.0-noble |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version here must be exactly the same as the SDK below. As of today (30/10) swift:6.0-noble
vends Swift 6.0.2 which is not working with the SDK 6.0.1.
I suggest to pass both the Swift version number and the checksum as parameters
Resloves #34
Need to decide how to handle different versions and probably improve the workflow for installing the correct static SDK but opening as is for now for discussion