Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 20:45 UTC
chore: cross-build for AIX (#5971)
Benjamin Marwell committed
Dec 11, 2023 at 13:55 UTC
7d919af01b31aff6eb1086e87784bf59c52419bb
1 file changed
+3
-1
.github/workflows/cross-build.yml
+3
-1
@@ -16,6 +16,7 @@ jobs:
16
fail-fast: false
17
matrix:
18
goos:
19
+ - 'aix'
20
- 'android'
21
- 'linux'
22
- 'solaris'
@@ -62,11 +63,12 @@ jobs:
63
env:
64
CGO_ENABLED: 0
65
GOOS: ${{ matrix.goos }}
66
+ GOARCH: ${{ matrix.goos == 'aix' && 'ppc64' || 'amd64' }}
67
shell: bash
68
continue-on-error: true
69
working-directory: ./cmd/caddy
70
run: |
69
- GOOS=$GOOS go build -trimpath -o caddy-"$GOOS"-amd64 2> /dev/null
71
+ GOOS=$GOOS GOARCH=$GOARCH go build -trimpath -o caddy-"$GOOS"-$GOARCH 2> /dev/null
72
if [ $? -ne 0 ]; then
73
echo "::warning ::$GOOS Build Failed"
74
exit 0