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