Skip to content

Commit

Permalink
ok install clang on correct machines
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekrubin committed Jul 23, 2024
1 parent ac13091 commit eaa6eb4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,26 @@ jobs:
with:
python-version: "3.10"
- name: Build wheels
if: ${{ matrix.target != 'aarch64' && matrix.target != 'armv7' }}
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: "true"
manylinux: auto
working-directory: ./utiles-pyo3

# ok well I guess if we are building for aarch64 or armv7 we gotta do
# install clang...
- name: Build wheels
uses: PyO3/maturin-action@v1
if: ${{ matrix.target == 'aarch64' || matrix.target == 'armv7' }}
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: "true"
manylinux: auto
working-directory: ./utiles-pyo3
before-script-linux: |
yum install -y llvm-toolset-7-clang
source /opt/rh/llvm-toolset-7/enable
Expand Down

0 comments on commit eaa6eb4

Please sign in to comment.