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
|
- name: build
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
environment:
|
environment:
|
||||||
PACKAGE_BASENAME: bulk-barrage_linux_amd64
|
PACKAGE_BASENAME: igmpgen_linux_amd64
|
||||||
commands:
|
commands:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add cmake gcc g++ libnet libnet-dev debian-devscripts rpm make
|
- apk add cmake gcc g++ libnet libnet-dev debian-devscripts rpm make
|
||||||
- cmake -S . -B _build
|
- cmake -S . -B _build
|
||||||
- cmake --build _build
|
- cmake --build _build
|
||||||
- make -C _build/ package
|
- 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:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /_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
|
- name: publish:tag
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|
Loading…
Reference in a new issue