drone: Also compile arp-spoofer
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
nemunaire 2023-02-19 23:42:04 +01:00
parent 48d9e31b9c
commit 9b498b5842

View File

@ -15,7 +15,11 @@ steps:
- go vet -v -buildvcs=false ./checker
- go vet -v -buildvcs=false ./token-validator
- cd ./pkg/minichecker/cmd && go vet -v -buildvcs=false . && cd -
- cd ./pkg/arp-spoofer/cmd && go vet -v -buildvcs=false . && go build -buildvcs=false -v -ldflags="-s -w" . && cd -
- cd ./pkg/login-validator/cmd && go vet -v -buildvcs=false . && go build -buildvcs=false -v -ldflags="-s -w" . && cd -
- cd ./pkg/login-app/cmd && go build -v -buildvcs=false -ldflags="-s -w" . && cd -
- cd ./pkg/shadow-up/cmd && go vet -v -buildvcs=false . && go build -v -buildvcs=false -ldflags="-s -w" . && cd -
- cd ./pkg/wg-manager/cmd && go vet -v -buildvcs=false . && go build -v -buildvcs=false -ldflags="-s -w" . && cd -
- mkdir dist
- go build -v -buildvcs=false -ldflags="-s -w" -o dist/checker ./checker
- go build -v -buildvcs=false -ldflags="-s -w" -o dist/token-validator ./token-validator
@ -43,7 +47,11 @@ steps:
- go vet -v -buildvcs=false ./checker
- go vet -v -buildvcs=false ./token-validator
- cd ./pkg/minichecker/cmd && go vet -v -buildvcs=false . && cd -
- cd ./pkg/arp-spoofer/cmd && go vet -v -buildvcs=false . && go build -buildvcs=false -v -ldflags="-s -w" . && cd -
- cd ./pkg/login-validator/cmd && go vet -v -buildvcs=false . && go build -buildvcs=false -v -ldflags="-s -w" . && cd -
- cd ./pkg/login-app/cmd && go build -buildvcs=false -v -ldflags="-s -w" . && cd -
- cd ./pkg/shadow-up/cmd && go vet -v -buildvcs=false . && go build -v -buildvcs=false -ldflags="-s -w" . && cd -
- cd ./pkg/wg-manager/cmd && go vet -v -buildvcs=false . && go build -v -buildvcs=false -ldflags="-s -w" . && cd -
- mkdir dist
- go build -v -buildvcs=false -ldflags="-s -w" -o dist/checker ./checker
- go build -v -buildvcs=false -ldflags="-s -w" -o dist/token-validator ./token-validator