Skip to content

Commit d741af3

Browse files
authored
use arm runner (#117)
1 parent dfd8f3e commit d741af3

File tree

1 file changed

+1
-64
lines changed

1 file changed

+1
-64
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
os: [ ubuntu-22.04, macos-13, macos-14, windows-2022 ]
36+
os: [ ubuntu-22.04, macos-13, macos-14, windows-2022, ubuntu-22.04-arm ]
3737
py_version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
3838

3939
exclude:
@@ -53,25 +53,6 @@ jobs:
5353
python-version: ${{ matrix.py_version }}
5454
allow-prereleases: true
5555

56-
- name: Free disk space
57-
if: contains(matrix.os, 'ubuntu')
58-
uses: descriptinc/free-disk-space@main
59-
with:
60-
tool-cache: true
61-
android: true
62-
dotnet: true
63-
haskell: true
64-
large-packages: true
65-
swap-storage: false # This frees space on the wrong partition.
66-
67-
- uses: Jimver/[email protected]
68-
if: contains(matrix.os, 'ubuntu')
69-
id: cuda-toolkit
70-
with:
71-
cuda: '12.4.1'
72-
linux-local-args: '["--toolkit"]'
73-
log-file-suffix: "${{ matrix.os }}-${{ matrix.py_version }}.txt"
74-
7556
- name: Install and configure
7657
shell: bash
7758
run: |
@@ -159,47 +140,3 @@ jobs:
159140
160141
jupyter execute examples/mlir_python_extras.ipynb
161142
jupyter execute examples/vectorization_e2e.ipynb
162-
163-
mlir-bindings-aarch64:
164-
165-
runs-on: ${{ matrix.os }}
166-
167-
strategy:
168-
fail-fast: false
169-
matrix:
170-
os: [ ubuntu-22.04 ]
171-
py_version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
172-
173-
steps:
174-
- name: Checkout
175-
uses: actions/checkout@v2
176-
177-
- name: Install, configure, and test
178-
uses: uraimo/run-on-arch-action@v2
179-
with:
180-
arch: aarch64
181-
distro: ubuntu20.04
182-
dockerRunArgs: --volume "${{ github.workspace }}:/workspace"
183-
install: |
184-
185-
apt-get update -q -y
186-
apt-get install -y wget build-essential git
187-
188-
mkdir -p ~/miniconda3
189-
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O miniconda.sh
190-
bash miniconda.sh -b -u -p /root/miniconda3
191-
eval "$(/root/miniconda3/bin/conda shell.bash hook)"
192-
conda init
193-
194-
run: |
195-
196-
eval "$(/root/miniconda3/bin/conda shell.bash hook)"
197-
conda create -n env -q -y -c conda-forge/label/python_rc python=${{ matrix.py_version }}
198-
conda activate env
199-
200-
cd /workspace
201-
202-
pip install -q .[test,mlir] -f https://makslevental.github.io/wheels
203-
204-
pytest --capture=tee-sys tests
205-
python examples/mwe.py

0 commit comments

Comments
 (0)