diff --git a/.github/workflows/python-core-wheels.yml b/.github/workflows/python-core-wheels.yml index 00a78ff4..c6fcb1ba 100644 --- a/.github/workflows/python-core-wheels.yml +++ b/.github/workflows/python-core-wheels.yml @@ -153,87 +153,91 @@ jobs: name: wheels path: dist/*.whl - musllinux: - runs-on: ubuntu-latest - strategy: - matrix: - target: - - x86_64-unknown-linux-musl - - i686-unknown-linux-musl - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - python-version: 3.8 - architecture: x64 + # NOTE: musllinux builds are commented out because importing them failed with: + # ImportError: Error loading shared library libgcc_s-60abea67.so.1: No such file or directory - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.target }} - manylinux: musllinux_1_2 - args: --release --out dist -m python/core/Cargo.toml + # musllinux: + # runs-on: ubuntu-latest + # strategy: + # matrix: + # target: + # - x86_64-unknown-linux-musl + # - i686-unknown-linux-musl + # steps: + # - uses: actions/checkout@v4 + # - uses: actions/setup-python@v4 + # with: + # python-version: 3.8 + # architecture: x64 - - name: Install built wheel - if: matrix.target == 'x86_64-unknown-linux-musl' - uses: addnab/docker-run-action@v3 - with: - image: alpine:latest - options: -v ${{ github.workspace }}:/io -w /io - run: | - apk add py3-pip - pip3 install -U pip - pip3 install geoarrow-rust-core --no-index --find-links /io/dist/ --force-reinstall - python3 -c "import geoarrow.rust.core" + # - name: Build wheels + # uses: PyO3/maturin-action@v1 + # with: + # target: ${{ matrix.target }} + # manylinux: musllinux_1_2 + # args: --release --out dist -m python/core/Cargo.toml - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: dist + # - name: Install built wheel + # if: matrix.target == 'x86_64-unknown-linux-musl' + # uses: addnab/docker-run-action@v3 + # with: + # image: alpine:latest + # options: -v ${{ github.workspace }}:/io -w /io + # run: | + # apk add py3-pip + # pip3 install -U pip + # pip3 install geoarrow-rust-core --no-index --find-links /io/dist/ --force-reinstall + # python3 -c "import geoarrow.rust.core" + + # - name: Upload wheels + # uses: actions/upload-artifact@v3 + # with: + # name: wheels + # path: dist - musllinux-cross: - runs-on: ubuntu-latest - strategy: - matrix: - platform: - - target: aarch64-unknown-linux-musl - arch: aarch64 - - target: armv7-unknown-linux-musleabihf - arch: armv7 + # musllinux-cross: + # runs-on: ubuntu-latest + # strategy: + # matrix: + # platform: + # - target: aarch64-unknown-linux-musl + # arch: aarch64 + # - target: armv7-unknown-linux-musleabihf + # arch: armv7 - steps: - - uses: actions/checkout@v4 + # steps: + # - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - python-version: 3.8 + # - uses: actions/setup-python@v4 + # with: + # python-version: 3.8 - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - manylinux: musllinux_1_2 - args: --release --out dist -m python/core/Cargo.toml + # - name: Build wheels + # uses: PyO3/maturin-action@v1 + # with: + # target: ${{ matrix.platform.target }} + # manylinux: musllinux_1_2 + # args: --release --out dist -m python/core/Cargo.toml - - uses: uraimo/run-on-arch-action@v2.5.1 - name: Install built wheel - with: - arch: ${{ matrix.platform.arch }} - distro: alpine_latest - githubToken: ${{ github.token }} - install: | - apk add py3-pip - pip3 install -U pip - run: | - pip3 install geoarrow-rust-core --no-index --find-links dist/ --force-reinstall - python3 -c "import geoarrow.rust.core" + # - uses: uraimo/run-on-arch-action@v2.5.1 + # name: Install built wheel + # with: + # arch: ${{ matrix.platform.arch }} + # distro: alpine_latest + # githubToken: ${{ github.token }} + # install: | + # apk add py3-pip + # pip3 install -U pip + # run: | + # pip3 install geoarrow-rust-core --no-index --find-links dist/ --force-reinstall + # python3 -c "import geoarrow.rust.core" + + # - name: Upload wheels + # uses: actions/upload-artifact@v3 + # with: + # name: wheels + # path: dist - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: dist # build_sdist: # name: Build source distribution