-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
CI: musllinux_x86_64 #22864
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
CI: musllinux_x86_64 #22864
Changes from 4 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
57dde1f
CI: musllinux_x86_64
andyfaff 2807b2e
CI: linux_musl.yml suggestions
andyfaff fe31728
ENH: update openblas_support.py for musllinux
andyfaff 219b097
TST: modify linux_musl.yml CI config
andyfaff d1f9637
MAINT: dont assume packaging is installed
andyfaff 7286c08
BUG: fix SUPPORTED_PLATFORMS list
andyfaff c6e172b
MAINT: np.testing.IS_MUSL
andyfaff cad2d26
BUG: np.testing.IS_MUSL
andyfaff 3c175c7
BUG: detect musl
andyfaff ddde5ad
TST: mark some tests as xfail for musllinux
andyfaff 38b802f
TST: mark musllinux xfail
andyfaff 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,66 @@ | ||
name: Test musllinux_x86_64 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- maintenance/** | ||
pull_request: | ||
branches: | ||
- main | ||
- maintenance/** | ||
|
||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
|
||
jobs: | ||
musllinux_x86_64: | ||
runs-on: ubuntu-latest | ||
container: | ||
# Use container used for building musllinux wheels | ||
# it has git installed, all the pythons, etc | ||
image: quay.io/pypa/musllinux_1_1_x86_64 | ||
|
||
steps: | ||
- name: setup | ||
run: | | ||
apk update --quiet | ||
|
||
# using git commands to clone because versioneer doesn't work when | ||
# actions/checkout is used for the clone step in a container | ||
|
||
git config --global --add safe.directory $PWD | ||
|
||
if [ $GITHUB_EVENT_NAME != pull_request ]; then | ||
git clone --recursive --branch=$GITHUB_REF https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE | ||
git reset --hard $GITHUB_SHA | ||
else | ||
git clone --recursive https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE | ||
git fetch origin $GITHUB_REF:my_ref_name | ||
git checkout $GITHUB_BASE_REF | ||
git -c user.email="[email protected]" merge --no-commit my_ref_name | ||
fi | ||
|
||
ln -s /usr/local/bin/python3.10 /usr/local/bin/python | ||
|
||
- name: test musllinux_x86_64 | ||
run: | | ||
python -m venv test_env | ||
source test_env/bin/activate | ||
|
||
# install openblas by co-opting the CIBW setup script | ||
RUNNER_OS=Linux sh tools/wheels/cibw_before_build.sh . | ||
|
||
pip install -r build_requirements.txt | ||
pip install pytest hypothesis typing_extensions | ||
|
||
# use meson to build and test | ||
./dev.py build | ||
./dev.py test |
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
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.