This commit is contained in:
parent
044fa2b1f1
commit
b5f195fa69
16
.drone.yml
16
.drone.yml
@ -14,8 +14,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
||||||
- curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
- curl -o $${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
||||||
- chmod +x ${RUSTC_WRAPPER}
|
- chmod +x $${RUSTC_WRAPPER}
|
||||||
- cargo b -v --all
|
- cargo b -v --all
|
||||||
- cargo t -v --all
|
- cargo t -v --all
|
||||||
environment:
|
environment:
|
||||||
@ -37,8 +37,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
||||||
- curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
- curl -o $${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
||||||
- chmod +x ${RUSTC_WRAPPER}
|
- chmod +x $${RUSTC_WRAPPER}
|
||||||
- cargo b -r -v --all
|
- cargo b -r -v --all
|
||||||
- cd target/release
|
- cd target/release
|
||||||
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
|
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
|
||||||
@ -90,8 +90,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
||||||
- curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
- curl -o $${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
||||||
- chmod +x ${RUSTC_WRAPPER}
|
- chmod +x $${RUSTC_WRAPPER}
|
||||||
- cargo b -v --all
|
- cargo b -v --all
|
||||||
- cargo t -v --all
|
- cargo t -v --all
|
||||||
environment:
|
environment:
|
||||||
@ -113,8 +113,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
- apt-get install -y libnftnl-dev libmnl-dev libclang-dev
|
||||||
- curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
- curl -o $${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
|
||||||
- chmod +x ${RUSTC_WRAPPER}
|
- chmod +x $${RUSTC_WRAPPER}
|
||||||
- cargo b -r -v --all
|
- cargo b -r -v --all
|
||||||
- cd target/release
|
- cd target/release
|
||||||
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
|
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
|
||||||
|
Loading…
Reference in New Issue
Block a user