Skip to content

Commit bc90da4

Browse files
committed
use qemu on github CI for ppc64le, s390x
1 parent 18767f0 commit bc90da4

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
@@ -43,6 +43,12 @@ jobs:
4343
- { os: ubuntu-24.04-arm, PLAT: aarch64, INTERFACE64: '0', MB_ML_VER: '_1_2', MB_ML_LIBC: musllinux}
4444
- { os: ubuntu-24.04-arm, PLAT: aarch64, INTERFACE64: '1', MB_ML_VER: '_1_2', MB_ML_LIBC: musllinux}
4545

46+
- { os: ubuntu-latest, PLAT: ppc64le, INTERFACE64: '0', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
47+
- { os: ubuntu-latest, PLAT: ppc64le, INTERFACE64: '1', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
48+
49+
- { os: ubuntu-latest, PLAT: s390x, INTERFACE64: '0', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
50+
- { os: ubuntu-latest, PLAT: s390x, INTERFACE64: '1', MB_ML_VER: '2014', MB_ML_LIBC: manylinux}
51+
4652
env:
4753
NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
4854
MB_ML_LIBC: ${{ matrix.MB_ML_LIBC }}
@@ -68,6 +74,12 @@ jobs:
6874
with:
6975
xcode-version: '15.4'
7076

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

tools/build_steps.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,14 @@ EOF
181181
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
182182
;;
183183
*-s390x)
184+
# The TargetList.txt has only ZARCH_GENERIC, Z13, Z14. Not worth
185+
# messing with dynamic lists and targets.
184186
local bitness=64
185187
;;
186188
*-ppc64le)
187189
local bitness=64
188190
local target="POWER8"
191+
local dynamic_list="POWER8 POWER10"
189192
;;
190193
Linux-loongarch64)
191194
local target="GENERIC"

0 commit comments

Comments
 (0)