Skip to content

Commit

Permalink
Merge pull request #184 from loong64/main
Browse files Browse the repository at this point in the history
perf: Use GitHub hosted arm Linux runner
  • Loading branch information
mattip authored Jan 20, 2025
2 parents 85d1b1d + cd473e8 commit 14a1b3b
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 14a1b3b

Please sign in to comment.