diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2022-10-10 18:50:44 -0700 |
---|---|---|
committer | Mark Adler <fork@madler.net> | 2022-10-11 20:21:50 -0700 |
commit | f5ceeb964d9d72b2bfabc031d6243e3c5ba4e5e0 (patch) | |
tree | 5a727c6586b203dceffa7bdbca55a57543a67107 /.github | |
parent | da6f1623c177c5ebfa2b1ee3b50eb297da5a77e1 (diff) | |
download | zlib-f5ceeb964d9d72b2bfabc031d6243e3c5ba4e5e0.tar.gz |
CI: Add instances for PPC using QEMU in configure workflow.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/configure.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/configure.yml b/.github/workflows/configure.yml index dcdd4b5..329a4da 100644 --- a/.github/workflows/configure.yml +++ b/.github/workflows/configure.yml @@ -45,6 +45,34 @@ jobs: packages: qemu qemu-user gcc-aarch64-linux-gnu libc-dev-arm64-cross qemu-run: qemu-aarch64 -L /usr/aarch64-linux-gnu + - name: Ubuntu GCC PPC + os: ubuntu-latest + compiler: powerpc-linux-gnu-gcc + configure-args: --warn --static + chost: powerpc-linux-gnu + packages: qemu qemu-user gcc-powerpc-linux-gnu libc-dev-powerpc-cross + qemu-run: qemu-ppc -L /usr/powerpc-linux-gnu + cflags: -static + ldflags: -static + + - name: Ubuntu GCC PPC64 + os: ubuntu-latest + compiler: powerpc64-linux-gnu-gcc + configure-args: --warn --static + chost: powerpc-linux-gnu + packages: qemu qemu-user gcc-powerpc64-linux-gnu libc-dev-ppc64-cross + qemu-run: qemu-ppc64 -L /usr/powerpc64-linux-gnu + cflags: -static + ldflags: -static + + - name: Ubuntu GCC PPC64LE + os: ubuntu-latest + compiler: powerpc64le-linux-gnu-gcc + configure-args: --warn + chost: powerpc64le-linux-gnu + packages: qemu qemu-user gcc-powerpc64le-linux-gnu libc-dev-ppc64el-cross + qemu-run: qemu-ppc64le -L /usr/powerpc64le-linux-gnu + - name: macOS GCC os: macos-latest compiler: gcc-9 @@ -67,6 +95,8 @@ jobs: ${{ matrix.src-dir || '.' }}/configure ${{ matrix.configure-args }} env: CC: ${{ matrix.compiler }} + CFLAGS: ${{ matrix.cflags }} + LDFLAGS: ${{ matrix.ldflags }} CHOST: ${{ matrix.chost }} - name: Compile source code |