From ab7ec5afc224c56f709b3176a6261f5b63f14952 Mon Sep 17 00:00:00 2001 From: Matt Burridge Date: Mon, 15 Apr 2024 15:05:08 +0100 Subject: [PATCH] updated ci --- .github/workflows/python.yml | 40 ++---------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d6da745..f1d5b34 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -8,7 +8,7 @@ on: env: PACKAGE_NAME: rocraters - PYTHON_VERSION: "3.8" # to build abi3 wheels + PYTHON_VERSION: "3.9" # to build abi3 wheels # Modified slightly from crfs-rs Python.yml jobs: @@ -92,7 +92,7 @@ jobs: - name: Install built wheel if: matrix.target == 'x86_64' run: | - pip install dist/${{ env.PACKAGE_NAME }}-*.whl --no-index --find-links dist --force-reinstall + pip install rocraters --no-index --find-links dist --force-reinstall python -c "import rocraters" - name: Upload wheels uses: actions/upload-artifact@v3 @@ -100,39 +100,3 @@ jobs: name: wheels path: dist - linux-cross: - runs-on: ubuntu-latest - strategy: - matrix: - target: [aarch64, armv7, s390x, ppc64le, ppc64] - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - python-version: ${{ env.PYTHON_VERSION }} - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.target }} - manylinux: auto - args: --release --out dist -m python/Cargo.toml - - uses: uraimo/run-on-arch-action@v2.7.1 - if: matrix.target != 'ppc64' - name: Install built wheel - with: - arch: ${{ matrix.target }} - distro: ubuntu20.04 - githubToken: ${{ github.token }} - install: | - apt-get update - apt-get install -y --no-install-recommends python3 python3-pip - pip3 install -U pip - run: | - pip3 install dist/${{ env.PACKAGE_NAME }}-*.whl --no-index --find-links dist/ --force-reinstall - python3 -c "import rocraters" - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: dist -