diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 2157fa10..2aca015c 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -94,15 +94,27 @@ jobs: with: python-version: "${{ matrix.python-version }}" - - name: Build and install + - name: Build and install macos-13 + run: pip install --verbose . + if: matrix.platform == 'macos-13' + env: + PATH: "/usr/local/opt/llvm/bin:${{ env.PATH }}" + + - name: Build and install macos-14 + run: pip install --verbose . + if: matrix.platform == 'macos-14' + env: + PATH: "/opt/homebrew/opt/llvm/bin:${{ env.PATH }}" + + - name: Build and install windows-latest run: pip install --verbose . if: matrix.platform == 'windows-latest' env: PATH: "/c/Program Files/LLVM/bin:${{ env.PATH }}" - - name: Build and install + - name: Build and install ubuntu-latest run: pip install --verbose . - if: matrix.platform != 'windows-latest' + if: matrix.platform == 'ubuntu-latest' - name: Test run: | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index dc1df309..4a33573f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -121,7 +121,32 @@ jobs: dpkg -s libboost-all-dev dpkg -s libhdf5-dev - - name: build wheel + - name: build wheel on macos-13 + if: matrix.os == 'macos-13' + uses: pypa/cibuildwheel@v2.17 + env: + CIBW_ARCHS_MACOS: universal2 + CIBW_ARCHS_WINDOWS: auto ARM64 + PATH: "/usr/local/opt/llvm/bin:${{ env.PATH }}" + + - name: build wheel on macos-14 + if: matrix.os == 'macos-14' + uses: pypa/cibuildwheel@v2.17 + env: + CIBW_ARCHS_MACOS: universal2 + CIBW_ARCHS_WINDOWS: auto ARM64 + PATH: "/opt/homebrew/opt/llvm/bin:${{ env.PATH }}" + + - name: build wheel on windows-latest + if: matrix.os == 'windows-latest' + uses: pypa/cibuildwheel@v2.17 + env: + CIBW_ARCHS_MACOS: universal2 + CIBW_ARCHS_WINDOWS: auto ARM64 + PATH: "/c/Program Files/LLVM/bin:${{ env.PATH }}" + + - name: build wheel ununtu-latest + if: matrix.os == 'ubuntu-latest' uses: pypa/cibuildwheel@v2.17 env: CIBW_ARCHS_MACOS: universal2