Skip to content

Commit

Permalink
ci: Fix architectures in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aseyboldt committed May 2, 2024
1 parent 34e593d commit 0c2c80a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
matrix:
# If you update the targets here, be sure to also update the
# download-artifact step in the release job!
target: [x86_64]
target: [x86_64, aarch64, riscv64]
# pytensor is currently giving me issues on the other targets...
#target: [x86_64, aarch64, s390x, ppc64le]
steps:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
pip install pytest
pytest
- name: pytest
if: ${{ !startsWith(matrix.target, 'x86') && matrix.target != 'ppc64' }}
if: ${{ !startsWith(matrix.target, 'x86') }}
uses: uraimo/[email protected]
with:
arch: ${{ matrix.target }}
Expand All @@ -70,7 +70,8 @@ jobs:
pip3 install -U pip pytest
run: |
set -e
pip3 install 'nutpie[all]' --find-links dist --force-reinstall
pip3 install --find-links dist --force-reinstall 'nutpie[all]'
pip3 install 'nutpie[all]' --find-links dist --no-deps --no-index --force-reinstall
pytest
windows:
Expand Down Expand Up @@ -147,7 +148,7 @@ jobs:
name: macos-${{ matrix.target }}-wheels
path: dist
- name: pytest
if: ${{ !startsWith(matrix.target, 'aarch64') }}
if: ${{ startsWith(matrix.target, 'aarch64') }}
shell: bash
run: |
set -e
Expand Down Expand Up @@ -183,6 +184,14 @@ jobs:
with:
name: linux-x86_64-wheels
path: dist
- uses: actions/download-artifact@v4
with:
name: linux-aarch64-wheels
path: dist
- uses: actions/download-artifact@v4
with:
name: linux-riscv64-wheels
path: dist
- uses: actions/download-artifact@v4
with:
name: windows-x64-wheels
Expand Down

0 comments on commit 0c2c80a

Please sign in to comment.