From eaa6eb4ad8ceba081c6b6bee3bd3588cf3f0a748 Mon Sep 17 00:00:00 2001 From: Jesse Rubin Date: Tue, 23 Jul 2024 12:15:02 -0700 Subject: [PATCH] ok install clang on correct machines --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af963edb..36169283 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,7 @@ 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 }} @@ -30,6 +31,18 @@ jobs: 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