@@ -116,10 +116,74 @@ jobs:
116116 name : ${{ steps.build_socat.outputs.PACKAGED_NAME }}
117117 path : ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
118118
119+ build-ppc32 :
120+ name : Build socat powerpc32
121+ runs-on : ubuntu-latest
122+ container : muslcc/x86_64:powerpc-linux-musl
123+ steps :
124+ - name : Checkout
125+ uses : actions/checkout@v2
126+
127+ - name : Install dependencies
128+ run : sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
129+
130+ - name : Install testing dependencies
131+ run : apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
132+
133+ - name : Install build compiler
134+ run : /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
135+ env :
136+ ARCH : x86_64-linux-musl
137+ HOST : http://musl.cc/
138+ TEMP : /tmp
139+ USER : 0
140+
141+ - name : Build socat
142+ id : build_socat
143+ run : $GITHUB_WORKSPACE/build/targets/build_socat.sh ppc32
144+
145+ - name : Upload artifacts
146+ uses : actions/upload-artifact@v2
147+ with :
148+ name : ${{ steps.build_socat.outputs.PACKAGED_NAME }}
149+ path : ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
150+
151+ build-ppc64 :
152+ name : Build socat powerpc64
153+ runs-on : ubuntu-latest
154+ container : muslcc/x86_64:powerpc64-linux-musl
155+ steps :
156+ - name : Checkout
157+ uses : actions/checkout@v2
158+
159+ - name : Install dependencies
160+ run : sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
161+
162+ - name : Install testing dependencies
163+ run : apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
164+
165+ - name : Install build compiler
166+ run : /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
167+ env :
168+ ARCH : x86_64-linux-musl
169+ HOST : http://musl.cc/
170+ TEMP : /tmp
171+ USER : 0
172+
173+ - name : Build socat
174+ id : build_socat
175+ run : $GITHUB_WORKSPACE/build/targets/build_socat.sh ppc64
176+
177+ - name : Upload artifacts
178+ uses : actions/upload-artifact@v2
179+ with :
180+ name : ${{ steps.build_socat.outputs.PACKAGED_NAME }}
181+ path : ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
182+
119183 create-release :
120184 name : Create socat Release
121185 runs-on : ubuntu-latest
122- needs : [build-x86, build-x86_64, build-armhf, build-aarch64]
186+ needs : [build-x86, build-x86_64, build-armhf, build-aarch64, build-ppc32, build-ppc64 ]
123187 steps :
124188 - name : Checkout
125189 uses : actions/checkout@v2
0 commit comments