ensure agent compiles for mac and freebsd too
This commit is contained in:
parent
b0a1b6335d
commit
1ac1ca57e2
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -33,3 +33,17 @@ jobs:
|
|||||||
for i in ${ARCHS}; do
|
for i in ${ARCHS}; do
|
||||||
env CGO_ENABLED=0 GOOS=windows GOARCH=${i} go build -ldflags "-s -w"
|
env CGO_ENABLED=0 GOOS=windows GOARCH=${i} go build -ldflags "-s -w"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- name: Ensure mac agent compiles
|
||||||
|
run: |
|
||||||
|
ARCHS='amd64 arm64'
|
||||||
|
for i in ${ARCHS}; do
|
||||||
|
env CGO_ENABLED=0 GOOS=darwin GOARCH=${i} go build -ldflags "-s -w"
|
||||||
|
done
|
||||||
|
|
||||||
|
- name: Ensure freebsd agent compiles
|
||||||
|
run: |
|
||||||
|
ARCHS='amd64 386 arm64 arm'
|
||||||
|
for i in ${ARCHS}; do
|
||||||
|
env CGO_ENABLED=0 GOOS=freebsd GOARCH=${i} go build -ldflags "-s -w"
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user