summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorBenjamin Marwell <[email protected]>2023-12-11 13:55:04 +0100
committerGitHub <[email protected]>2023-12-11 12:55:04 +0000
commit7d919af01b31aff6eb1086e87784bf59c52419bb (patch)
treed1361a682270dd8b6717cf03ffa00ebda1b87a88 /.github
parent4a09cf0dc00724c3b0f76fe1ae4da887bde46240 (diff)
downloadcaddy-7d919af01b31aff6eb1086e87784bf59c52419bb.tar.gz
caddy-7d919af01b31aff6eb1086e87784bf59c52419bb.zip
chore: cross-build for AIX (#5971)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cross-build.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml
index 497f39cc4..13e215b75 100644
--- a/.github/workflows/cross-build.yml
+++ b/.github/workflows/cross-build.yml
@@ -16,6 +16,7 @@ jobs:
fail-fast: false
matrix:
goos:
+ - 'aix'
- 'android'
- 'linux'
- 'solaris'
@@ -62,11 +63,12 @@ jobs:
env:
CGO_ENABLED: 0
GOOS: ${{ matrix.goos }}
+ GOARCH: ${{ matrix.goos == 'aix' && 'ppc64' || 'amd64' }}
shell: bash
continue-on-error: true
working-directory: ./cmd/caddy
run: |
- GOOS=$GOOS go build -trimpath -o caddy-"$GOOS"-amd64 2> /dev/null
+ GOOS=$GOOS GOARCH=$GOARCH go build -trimpath -o caddy-"$GOOS"-$GOARCH 2> /dev/null
if [ $? -ne 0 ]; then
echo "::warning ::$GOOS Build Failed"
exit 0