Skip to content

Commit 50adc0c

Browse files
feat: add loongarch64 builds
Signed-off-by: 吴小白 <[email protected]>
1 parent 3e5c342 commit 50adc0c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/posix.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ jobs:
8585
INTERFACE64: '1'
8686
MB_ML_LIBC: musllinux
8787
MB_ML_VER: _1_2
88+
- os: ubuntu-latest
89+
PLAT: loongarch64
90+
INTERFACE64: '0'
91+
MB_ML_VER: _2_38
92+
- os: ubuntu-latest
93+
PLAT: loongarch64
94+
INTERFACE64: '1'
95+
MB_ML_VER: _2_38
8896

8997
exclude:
9098
- PLAT: i686
@@ -119,12 +127,17 @@ jobs:
119127
with:
120128
xcode-version: '14.3'
121129

122-
- name: Allow docker with qemu
130+
- name: Allow docker with qemu on aarch64
123131
if: ${{ matrix.PLAT == 'aarch64' }}
124132
run: |
125133
sudo apt-get update -q -y
126134
sudo apt-get -qq install -y qemu qemu-user-static
127135
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
136+
137+
- name: Allow docker with qemu on loongarch64
138+
if: ${{ matrix.PLAT == 'loongarch64' }}
139+
run: |
140+
sudo docker run --rm --privileged ghcr.io/loong64/qemu-user-static --reset -p yes --credential yes
128141
129142
- name: Print some Environment variable
130143
run: |

0 commit comments

Comments
 (0)