mirror of
https://github.com/dunglas/frankenphp
synced 2024-11-23 08:39:21 +00:00
try cgo flags anyway
This commit is contained in:
parent
4ffb8c4793
commit
11da3be7e5
2
.github/workflows/docker.yaml
vendored
2
.github/workflows/docker.yaml
vendored
@ -181,7 +181,7 @@ jobs:
|
||||
run: |
|
||||
docker run --platform=${{ matrix.platform }} --rm \
|
||||
"$(jq -r '."builder-${{ matrix.variant }}"."containerimage.config.digest"' <<< "${METADATA}")" \
|
||||
sh -c ' go test -buildmode=pie -v ./... && cd caddy && go test -buildmode=pie -v ./...'
|
||||
sh -c 'CGO_CXXFLAGS=-fPIE CGO_CFLAGS=-fPIE CGO_LDFLAGS=-pie go test -buildmode=pie -v ./... && cd caddy && go test -buildmode=pie -v ./...'
|
||||
env:
|
||||
METADATA: ${{ steps.build.outputs.metadata }}
|
||||
# Adapted from https://docs.docker.com/build/ci/github-actions/multi-platform/
|
||||
|
Loading…
Reference in New Issue
Block a user