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 a7f28cd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 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]
# pytensor is currently giving me issues on the other targets...
#target: [x86_64, aarch64, s390x, ppc64le]
steps:
Expand Down Expand Up @@ -58,19 +58,20 @@ 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 }}
distro: ubuntu22.04
githubToken: ${{ github.token }}
install: |
apt-get update
apt-get install -y --no-install-recommends python3 python3-pip
apt-get install -y --no-install-recommends python3 python3-pip build-essential
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,10 @@ 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: windows-x64-wheels
Expand Down

0 comments on commit a7f28cd

Please sign in to comment.