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 workflow for testing Musl #40

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

0xTim
Copy link
Member

@0xTim 0xTim commented Oct 21, 2024

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

@0xTim 0xTim requested a review from a team as a code owner October 21, 2024 17:27
@@ -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"

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

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
Copy link
Contributor

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

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.

3 participants