Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
perf: Use GitHub hosted arm Linux runner
Browse files Browse the repository at this point in the history
Signed-off-by: 吴小白 <[email protected]>
  • Loading branch information
wojiushixiaobai committed Jan 19, 2025
1 parent 85d1b1d commit cd473e8
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,30 @@ jobs:
MB_ML_VER: _1_2


- os: ubuntu-latest
- os: ubuntu-24.04-arm
PLAT: aarch64
INTERFACE64: '0'
MB_ML_VER: '2014'
- os: ubuntu-latest
- os: ubuntu-24.04-arm
PLAT: aarch64
INTERFACE64: '1'
MB_ML_VER: '2014'
- os: ubuntu-latest
- os: ubuntu-24.04-arm
PLAT: aarch64
INTERFACE64: '0'
MB_ML_LIBC: musllinux
MB_ML_VER: _1_1
- os: ubuntu-latest
- os: ubuntu-24.04-arm
PLAT: aarch64
INTERFACE64: '1'
MB_ML_LIBC: musllinux
MB_ML_VER: _1_1
- os: ubuntu-latest
- os: ubuntu-24.04-arm
PLAT: aarch64
INTERFACE64: '0'
MB_ML_LIBC: musllinux
MB_ML_VER: _1_2
- os: ubuntu-latest
- os: ubuntu-24.04-arm
PLAT: aarch64
INTERFACE64: '1'
MB_ML_LIBC: musllinux
Expand Down Expand Up @@ -119,13 +119,6 @@ jobs:
with:
xcode-version: '14.3'

- name: Allow docker with qemu
if: ${{ matrix.PLAT == 'aarch64' }}
run: |
sudo apt-get update -q -y
sudo apt-get -qq install -y qemu qemu-user-static
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
- name: Print some Environment variable
run: |
echo "PLAT: ${PLAT}"
Expand Down Expand Up @@ -189,6 +182,7 @@ jobs:

- uses: conda-incubator/[email protected]
with:
architecture: ${{ env.PLAT == 'aarch64' && 'aarch64' || '' }}
channels: conda-forge
channel-priority: true
activate-environment: upload
Expand Down

0 comments on commit cd473e8

Please sign in to comment.