Skip to content

Commit 14a1b3b

Browse files
authored
Merge pull request #184 from loong64/main
perf: Use GitHub hosted arm Linux runner
2 parents 85d1b1d + cd473e8 commit 14a1b3b

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/posix.yml

+7-13
Original file line numberDiff line numberDiff line change
@@ -57,30 +57,30 @@ jobs:
5757
MB_ML_VER: _1_2
5858

5959

60-
- os: ubuntu-latest
60+
- os: ubuntu-24.04-arm
6161
PLAT: aarch64
6262
INTERFACE64: '0'
6363
MB_ML_VER: '2014'
64-
- os: ubuntu-latest
64+
- os: ubuntu-24.04-arm
6565
PLAT: aarch64
6666
INTERFACE64: '1'
6767
MB_ML_VER: '2014'
68-
- os: ubuntu-latest
68+
- os: ubuntu-24.04-arm
6969
PLAT: aarch64
7070
INTERFACE64: '0'
7171
MB_ML_LIBC: musllinux
7272
MB_ML_VER: _1_1
73-
- os: ubuntu-latest
73+
- os: ubuntu-24.04-arm
7474
PLAT: aarch64
7575
INTERFACE64: '1'
7676
MB_ML_LIBC: musllinux
7777
MB_ML_VER: _1_1
78-
- os: ubuntu-latest
78+
- os: ubuntu-24.04-arm
7979
PLAT: aarch64
8080
INTERFACE64: '0'
8181
MB_ML_LIBC: musllinux
8282
MB_ML_VER: _1_2
83-
- os: ubuntu-latest
83+
- os: ubuntu-24.04-arm
8484
PLAT: aarch64
8585
INTERFACE64: '1'
8686
MB_ML_LIBC: musllinux
@@ -119,13 +119,6 @@ jobs:
119119
with:
120120
xcode-version: '14.3'
121121

122-
- name: Allow docker with qemu
123-
if: ${{ matrix.PLAT == 'aarch64' }}
124-
run: |
125-
sudo apt-get update -q -y
126-
sudo apt-get -qq install -y qemu qemu-user-static
127-
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
128-
129122
- name: Print some Environment variable
130123
run: |
131124
echo "PLAT: ${PLAT}"
@@ -189,6 +182,7 @@ jobs:
189182

190183
- uses: conda-incubator/[email protected]
191184
with:
185+
architecture: ${{ env.PLAT == 'aarch64' && 'aarch64' || '' }}
192186
channels: conda-forge
193187
channel-priority: true
194188
activate-environment: upload

0 commit comments

Comments
 (0)