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

Create linux-musl.yml #2548

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create linux-musl.yml #2548

wants to merge 1 commit into from

Conversation

userdocs
Copy link

@userdocs userdocs commented Jan 1, 2025

A static musl crossbuild binaries workflow to test building against musl cc across a range of arch targets,

A continuation of this; #2426

It uses a variation of this https://github.com/richfelker/musl-cross-make via https://github.com/userdocs/qbt-musl-cross-make which provides the crossbuild toolchains on demand, here using the docker images.

They are using alpine linux settings from here https://git.alpinelinux.org/aports/tree/main/gcc/APKBUILD#n287

You could also release the static binaries using this.

Take about 3 minutes per build https://github.com/userdocs/ninja/actions/runs/12575349270

@userdocs userdocs force-pushed the master branch 2 times, most recently from 518386a to 24b2705 Compare January 3, 2025 20:01
Update linux-musl.yml

Update linux-musl.yml

Create linux-musl.yml

static musl crossbuild binaries

Update linux-musl.yml

Update linux-musl.yml

Update linux-musl.yml

Update linux-musl.yml
@userdocs
Copy link
Author

userdocs commented Jan 3, 2025

sorry about the job spam. I was trying to add the tests to the builds from the existing Linux workflow but I guess I'm missing something as can't seem to reproduce the python ones in full.

So now it does the python and cmake builds with some cmake failures in testing https://github.com/userdocs/ninja/actions/runs/12604320560

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.

1 participant