This commit is contained in:
parent
5452136d68
commit
d7ec0fb53e
1 changed files with 6 additions and 6 deletions
12
.drone.yml
12
.drone.yml
|
@ -7,21 +7,21 @@ steps:
|
|||
- name: build
|
||||
image: alpine:latest
|
||||
environment:
|
||||
PACKAGE_BASENAME: bulk-barrage_linux_amd64
|
||||
PACKAGE_BASENAME: igmpgen_linux_amd64
|
||||
commands:
|
||||
- apk update
|
||||
- apk add cmake gcc g++ libnet libnet-dev debian-devscripts rpm make
|
||||
- cmake -S . -B _build
|
||||
- cmake --build _build
|
||||
- make -C _build/ package
|
||||
- mkdir -p /_cache/bin /_cache/packages
|
||||
- cp -r _build/igmpgen /_cache/bin/$PACKAGE_BASENAME
|
||||
- ls -l _build
|
||||
- _build/igmpgen --help
|
||||
#- cp -r _build/igmpgen /_cache/bin/$PACKAGE_BASENAME
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /_cache
|
||||
commands:
|
||||
- strip bin/bulk-barrage
|
||||
- ./bin/bulk-barrage --version
|
||||
- mkdir -p /_cache/bin
|
||||
- cp -r bin/bulk-barrage /_cache/bin/$PACKAGE_BASENAME
|
||||
|
||||
- name: publish:tag
|
||||
image: alpine
|
||||
|
|
Loading…
Reference in a new issue