Skip to content

Commit

Permalink
try pinned container tag for amd linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Nov 29, 2023
1 parent 6795ea8 commit b704cd0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ jobs:
# # ring crate: add Visual Studio Build Tools "VS 2022 C++ ARM64 build tools" and "clang" components
# $env:Path += ";C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin"

- name: Build wheels
uses: PyO3/maturin-action@b9e8f88fd4448fdecf5095864cdc7e39a544aa9f # v1.40.7
if: ${{ matrix.settings.target != 'x86_64-unknown-linux-gnu' }}
with:
target: ${{ matrix.settings.target }}
args: --release --find-interpreter --sdist
container: quay.io/pypa/manylinux_2_28_x86_64:2023-10-30-2d1b8c5
sccache: "true"
manylinux: "2_28" # https://github.com/pola-rs/polars/pull/12211
working-directory: ${{ github.workspace }}/languages/python

- name: Build wheels
uses: PyO3/maturin-action@b9e8f88fd4448fdecf5095864cdc7e39a544aa9f # v1.40.7
with:
Expand All @@ -106,9 +117,6 @@ jobs:
sccache: "true"
manylinux: "2_28" # https://github.com/pola-rs/polars/pull/12211
working-directory: ${{ github.workspace }}/languages/python
before-script-linux: |
apt-get update
apt-get install python3-pip -y

- name: Upload wheels
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
Expand Down

0 comments on commit b704cd0

Please sign in to comment.