Skip to content

Commit 2035d01

Browse files
authored
Merge pull request #477 from Distributive-Network/Xmader/ci/use-hosted-arm-linux-runner
chore(CI): use GitHub-hosted runners for Linux arm64
2 parents 29867d3 + 76bf24a commit 2035d01

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
# Use Ubuntu 20.04 / macOS 13 x86_64 / macOS 14 arm64 + Python 3.10 to build SpiderMonkey
68-
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14', 'pi' ] # macOS 14 runner exclusively runs on M1 hardwares
69-
# see https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available
68+
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14', 'ubuntu-22.04-arm' ] # macOS 14 runner exclusively runs on M1 hardwares
69+
# see https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available
7070
python_version: [ '3.10' ]
7171
runs-on: ${{ matrix.os }}
7272
steps:
@@ -132,7 +132,7 @@ jobs:
132132
strategy:
133133
fail-fast: false
134134
matrix:
135-
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14', 'windows-2022', 'pi' ]
135+
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14', 'windows-2022', 'ubuntu-22.04-arm' ]
136136
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
137137
runs-on: ${{ matrix.os }}
138138
steps:
@@ -144,9 +144,6 @@ jobs:
144144
- uses: actions/setup-python@v5
145145
with:
146146
python-version: ${{ matrix.python_version }}
147-
- name: Remove old poetry cache
148-
run: rm -rf ~/.cache/pypoetry
149-
if: ${{ matrix.os == 'pi' }}
150147
- name: Setup Poetry
151148
uses: snok/install-poetry@v1
152149
with:

0 commit comments

Comments
 (0)