Skip to content

Commit

Permalink
feat: add loongarch64 builds
Browse files Browse the repository at this point in the history
Signed-off-by: 吴小白 <[email protected]>
  • Loading branch information
wojiushixiaobai committed Jan 3, 2025
1 parent 3e5c342 commit 24bdd68
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ jobs:
INTERFACE64: '1'
MB_ML_LIBC: musllinux
MB_ML_VER: _1_2
- os: ubuntu-latest
PLAT: loongarch64
INTERFACE64: '0'
MB_ML_VER: _2_38
- os: ubuntu-latest
PLAT: loongarch64
INTERFACE64: '1'
MB_ML_VER: _2_38

exclude:
- PLAT: i686
Expand Down Expand Up @@ -119,12 +127,17 @@ jobs:
with:
xcode-version: '14.3'

- name: Allow docker with qemu
- name: Allow docker with qemu on aarch64
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: Allow docker with qemu on loongarch64
if: ${{ matrix.PLAT == 'loongarch64' }}
run: |
sudo docker run --rm --privileged loong64/qemu-user-static --reset -p yes --credential yes
- name: Print some Environment variable
run: |
Expand Down

0 comments on commit 24bdd68

Please sign in to comment.