diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml new file mode 100644 index 00000000..58796443 --- /dev/null +++ b/.github/workflows/wheels.yml @@ -0,0 +1,23 @@ +name: Python Wheels + +on: + push: + branches: + - main + pull_request: + +jobs: + manylinux2014: + name: Build manylinux2014 wheels + runs-on: ubuntu-latest + container: quay.io/pypa/manulinux2014_x86_64 + steps: + - uses: actions/checkout@v3 + - name: Install stable rust + run: curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal + - name: Install maturin & uniffi-bindgen + run: /opt/python/cp311-cp311/bin/pip install maturin uniffi-bindgen + - name: Build wheel + run: | + source $HOME/.cargo/env + /opt/python/cp311-cp311/bin/maturin build --release --manylinux 2014 diff --git a/src/.github/workflows/wheels.yml b/src/.github/workflows/wheels.yml deleted file mode 100644 index 43496044..00000000 --- a/src/.github/workflows/wheels.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build Python Wheels - -on: - push: - branches: - - main - pull_request: - - jobs: - manylinux2014: - name: Build manylinux2014 wheels - runs-on: ubuntu-latest - container: quay.io/pypa/manulinux2014_x86_64 - steps: - - uses: actions/checkout@v3 - - name: Install stable rust - run: curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal - - name: Install maturin & uniffi-bindgen - run: /opt/python/cp311-cp311/bin/pip install maturin uniffi-bindgen - - name: Build wheel - run: | - source $HOME/.cargo/env - /opt/python/cp311-cp311/bin/maturin build --release --manylinux 2014