-
-
Notifications
You must be signed in to change notification settings - Fork 654
Meson: test void linux on CI and add devcontainer for it #40089
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
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a22a376
Meson: test void linux on CI and add devcontainer for it
tobiasdiez b674187
Fix void package manager update script
tobiasdiez df2b871
Add missing gap package on Void
tobiasdiez 4a1ec12
Meson CI: run when ci file changes
tobiasdiez 4818925
Prepare void linux container for node-based actions
tobiasdiez b87c885
Use sh and not bash syntax
tobiasdiez 65206df
Fix check for void container
tobiasdiez 6d6942c
Run against frozen uv.lock
tobiasdiez 15754c2
Add sage-data-elliptic_curves package for void
tobiasdiez fe9fc14
Merge branch 'develop' into meson-void
tobiasdiez 95313b4
Simplify uv install of build dependencies
tobiasdiez 3daf819
Restrict Cython version to not include 3.1.1
tobiasdiez d6c5848
Do not require ec
tobiasdiez 4c4faa9
Use musl-based Void Linux image
tobiasdiez 7d97d0f
Merge branch 'develop' into meson-void
dimpase 143464b
Merge remote-tracking branch 'upstream/develop' into meson-void
tobiasdiez a73ed68
Revert "Use musl-based Void Linux image"
tobiasdiez 6eb4fc7
Fix container name output formatting for artifact upload
tobiasdiez 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM ghcr.io/void-linux/void-glibc-full | ||
RUN xbps-install -Suy bash git python | ||
RUN chsh -s /usr/bin/bash |
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,24 @@ | ||
// See https://aka.ms/devcontainer.json for format details. | ||
{ | ||
"name": "void", | ||
// Doesn't include 'bash', so we use a custom dockerfile | ||
// "image": "ghcr.io/void-linux/void-glibc-full", | ||
"dockerFile": "Dockerfile", | ||
"onCreateCommand": ".devcontainer/onCreate-meson.sh || true", | ||
"features": { | ||
// Git feature is not compatible with Void Linux, so we install it manually in the Dockerfile | ||
// https://github.com/devcontainers/features/issues/824 | ||
//"ghcr.io/devcontainers/features/git": {}, | ||
//"ghcr.io/devcontainers/features/python:1": {}, | ||
"../uv": { | ||
"version": "latest" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python" | ||
] | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -22,13 +22,23 @@ jobs: | |
container: | ||
- fedora:41 | ||
- fedora:42 | ||
- ghcr.io/void-linux/void-glibc-full | ||
#- ubuntu:22.04 - fails due to issue with cypari2 | ||
#- ubuntu:24.04 - fails due to issue with cypari2 | ||
- ubuntu:25.04 | ||
container: | ||
image: ${{ matrix.container }} | ||
|
||
steps: | ||
- name: Prepare container | ||
run: | | ||
if [ "${{ matrix.container }}" = "ghcr.io/void-linux/void-glibc-full" ]; then | ||
xbps-install -Syu xbps | ||
xbps-install -yu | ||
# node-based actions require libstdc++.so.6 | ||
xbps-install -Sy libstdc++ bash git | ||
fi | ||
|
||
- name: Checkout code | ||
# cannot use v4 yet because of https://github.com/actions/checkout/issues/1487 | ||
uses: actions/checkout@v3 | ||
|
@@ -85,10 +95,10 @@ jobs: | |
id: clear-container-name | ||
if: failure() || success() | ||
run: | | ||
# Output the container name, but with ":" replaced by "-" | ||
# This is needed to avoid issues with the upload-artifact action | ||
CONTAINER_NAME=$(echo "${{ matrix.container }}" | tr ':' '-') | ||
echo "CONTAINER_NAME=$CONTAINER_NAME" >> $GITHUB_OUTPUT | ||
# Output the container name, but with ":" and "/" replaced by "-" | ||
# This is needed to avoid issues with the upload-artifact action | ||
CONTAINER_NAME=$(echo "${{ matrix.container }}" | tr ':/' '--') | ||
echo "CONTAINER_NAME=$CONTAINER_NAME" >> $GITHUB_OUTPUT | ||
|
||
- name: Upload log | ||
uses: actions/[email protected] | ||
|
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
File renamed without changes.
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 @@ | ||
sage-data-elliptic_curves |
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 @@ | ||
gap-devel |
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.
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.
glibc ? Isn't it a non-standard void configuration? Why not a musllib one?
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.
okay