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 zlib-f5ceeb964d9d72b2bfabc031d6243e3c5ba4e5e0.tar.bz2 zlib-f5ceeb964d9d72b2bfabc031d6243e3c5ba4e5e0.zip |
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: | |||
45 | packages: qemu qemu-user gcc-aarch64-linux-gnu libc-dev-arm64-cross | 45 | packages: qemu qemu-user gcc-aarch64-linux-gnu libc-dev-arm64-cross |
46 | qemu-run: qemu-aarch64 -L /usr/aarch64-linux-gnu | 46 | qemu-run: qemu-aarch64 -L /usr/aarch64-linux-gnu |
47 | 47 | ||
48 | - name: Ubuntu GCC PPC | ||
49 | os: ubuntu-latest | ||
50 | compiler: powerpc-linux-gnu-gcc | ||
51 | configure-args: --warn --static | ||
52 | chost: powerpc-linux-gnu | ||
53 | packages: qemu qemu-user gcc-powerpc-linux-gnu libc-dev-powerpc-cross | ||
54 | qemu-run: qemu-ppc -L /usr/powerpc-linux-gnu | ||
55 | cflags: -static | ||
56 | ldflags: -static | ||
57 | |||
58 | - name: Ubuntu GCC PPC64 | ||
59 | os: ubuntu-latest | ||
60 | compiler: powerpc64-linux-gnu-gcc | ||
61 | configure-args: --warn --static | ||
62 | chost: powerpc-linux-gnu | ||
63 | packages: qemu qemu-user gcc-powerpc64-linux-gnu libc-dev-ppc64-cross | ||
64 | qemu-run: qemu-ppc64 -L /usr/powerpc64-linux-gnu | ||
65 | cflags: -static | ||
66 | ldflags: -static | ||
67 | |||
68 | - name: Ubuntu GCC PPC64LE | ||
69 | os: ubuntu-latest | ||
70 | compiler: powerpc64le-linux-gnu-gcc | ||
71 | configure-args: --warn | ||
72 | chost: powerpc64le-linux-gnu | ||
73 | packages: qemu qemu-user gcc-powerpc64le-linux-gnu libc-dev-ppc64el-cross | ||
74 | qemu-run: qemu-ppc64le -L /usr/powerpc64le-linux-gnu | ||
75 | |||
48 | - name: macOS GCC | 76 | - name: macOS GCC |
49 | os: macos-latest | 77 | os: macos-latest |
50 | compiler: gcc-9 | 78 | compiler: gcc-9 |
@@ -67,6 +95,8 @@ jobs: | |||
67 | ${{ matrix.src-dir || '.' }}/configure ${{ matrix.configure-args }} | 95 | ${{ matrix.src-dir || '.' }}/configure ${{ matrix.configure-args }} |
68 | env: | 96 | env: |
69 | CC: ${{ matrix.compiler }} | 97 | CC: ${{ matrix.compiler }} |
98 | CFLAGS: ${{ matrix.cflags }} | ||
99 | LDFLAGS: ${{ matrix.ldflags }} | ||
70 | CHOST: ${{ matrix.chost }} | 100 | CHOST: ${{ matrix.chost }} |
71 | 101 | ||
72 | - name: Compile source code | 102 | - name: Compile source code |