Skip to content

Commit a2d2a0c

Browse files
committed
Enable musllinux_1_1 in Travis and GHA
1 parent 4c5f947 commit a2d2a0c

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
platform: "i686"
3535
- policy: "manylinux_2_24"
3636
platform: "x86_64"
37+
- policy: "musllinux_1_1"
38+
platform: "x86_64"
39+
- policy: "musllinux_1_1"
40+
platform: "i686"
3741

3842
env:
3943
POLICY: ${{ matrix.policy }}

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
env: POLICY="manylinux_2_24" PLATFORM="s390x"
3939
- arch: ppc64le
4040
env: POLICY="manylinux_2_24" PLATFORM="ppc64le" MANYLINUX_BUILD_FRONTEND="buildkit"
41+
- arch: arm64-graviton2
42+
virt: vm
43+
group: edge
44+
env: POLICY="musllinux_1_1" PLATFORM="aarch64"
45+
- arch: s390x
46+
env: POLICY="musllinux_1_1" PLATFORM="s390x"
47+
- arch: ppc64le
48+
env: POLICY="musllinux_1_1" PLATFORM="ppc64le" MANYLINUX_BUILD_FRONTEND="buildkit"
4149

4250
before_install:
4351
- if [ -d "${HOME}/buildx-cache/.buildx-cache-${POLICY}_${PLATFORM}" ]; then cp -rlf ${HOME}/buildx-cache/.buildx-cache-${POLICY}_${PLATFORM} ./; fi

docker/build_scripts/finalize.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,13 @@ deactivate
7676
pushd $MY_DIR/requirements-tools
7777
for TOOL_PATH in $(find . -type f); do
7878
TOOL=$(basename ${TOOL_PATH})
79-
pipx install --pip-args="--require-hashes -r" ${TOOL}
79+
if [ "${TOOL}" == "cmake" ] && [ "${POLICY}" == "musllinux_1_1" ]; then
80+
# TODO remove this exception once https://github.com/scikit-build/cmake-python-distributions
81+
# provides a musllinux wheel
82+
apk add --no-cache cmake
83+
else
84+
pipx install --pip-args="--require-hashes -r" ${TOOL}
85+
fi
8086
done
8187
popd
8288

0 commit comments

Comments
 (0)