Skip to content

Commit 16d0825

Browse files
mattipmayeut
authored andcommitted
use qemu on github CI for ppc64le, s390x
1 parent fb90300 commit 16d0825

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/posix.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
- { os: ubuntu-24.04-arm, PLAT: aarch64, INTERFACE64: '0', MB_ML_VER: '_1_2', MB_ML_LIBC: musllinux}
4646
- { os: ubuntu-24.04-arm, PLAT: aarch64, INTERFACE64: '1', MB_ML_VER: '_1_2', MB_ML_LIBC: musllinux}
4747

48+
- { os: ubuntu-latest, PLAT: ppc64le, INTERFACE64: '0', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
49+
- { os: ubuntu-latest, PLAT: ppc64le, INTERFACE64: '1', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
50+
51+
- { os: ubuntu-latest, PLAT: s390x, INTERFACE64: '0', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
52+
- { os: ubuntu-latest, PLAT: s390x, INTERFACE64: '1', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
53+
4854
env:
4955
NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
5056
MB_ML_LIBC: ${{ matrix.MB_ML_LIBC }}
@@ -70,6 +76,12 @@ jobs:
7076
with:
7177
xcode-version: '15.4'
7278

79+
- name: Set up QEMU
80+
if: runner.os == 'Linux' && runner.arch == 'X64'
81+
uses: docker/setup-qemu-action@v3
82+
with:
83+
platforms: all
84+
7385
- name: Print some Environment variable
7486
run: |
7587
echo "PLAT: ${PLAT}"

tools/build_steps.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,14 @@ EOF
186186
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
187187
;;
188188
*-s390x)
189+
# The TargetList.txt has only ZARCH_GENERIC, Z13, Z14. Not worth
190+
# messing with dynamic lists and targets.
189191
local bitness=64
190192
;;
191193
*-ppc64le)
192194
local bitness=64
193195
local target="POWER8"
196+
local dynamic_list="POWER8 POWER10"
194197
;;
195198
Linux-loongarch64)
196199
local target="GENERIC"

0 commit comments

Comments
 (0)