Skip to content

Commit

Permalink
Fix Python CI build for musllinux
Browse files Browse the repository at this point in the history
  • Loading branch information
miikka committed Aug 6, 2024
1 parent 9533ec6 commit cae0dc2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/publish-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,23 +213,22 @@ jobs:
with:
target: x86_64-unknown-linux-musl
manylinux: musllinux_1_2
args: --release --interpreter python${{ matrix.python-version}} --out /io/dist -m pytrustfall/Cargo.toml
args: --release --interpreter python${{ matrix.python-version}} --out dist -m pytrustfall/Cargo.toml
- name: Install built wheel
uses: addnab/docker-run-action@v3
with:
image: alpine:latest
image: python:${{ matrix.python-version }}-alpine
options: -v ${{ github.workspace }}:/io -w /io
run: |
apk add py3-pip
pip3 install -U pip
ls -alh /io/dist/
pip3 install trustfall --no-index --find-links /io/dist/ --force-reinstall
python3 -c "import trustfall"
pip install trustfall --no-index --find-links /io/dist/ --force-reinstall
pip -c "import trustfall"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux-${{ matrix.python-version }}
path: /io/dist/*.whl
path: dist/*.whl
if-no-files-found: error

# should-publish:
# name: Did version change
Expand Down

0 comments on commit cae0dc2

Please sign in to comment.