This commit is contained in:
parent
b5f195fa69
commit
e968539df5
12
.drone.yml
12
.drone.yml
@ -16,8 +16,8 @@ steps:
|
|||||||
- 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
|
||||||
- cargo t -v --all
|
- cargo t -v
|
||||||
environment:
|
environment:
|
||||||
RUSTC_WRAPPER: /usr/bin/sccache
|
RUSTC_WRAPPER: /usr/bin/sccache
|
||||||
SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com
|
SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com
|
||||||
@ -39,7 +39,7 @@ steps:
|
|||||||
- 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
|
||||||
- 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
|
||||||
environment:
|
environment:
|
||||||
@ -92,8 +92,8 @@ steps:
|
|||||||
- 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
|
||||||
- cargo t -v --all
|
- cargo t -v
|
||||||
environment:
|
environment:
|
||||||
RUSTC_WRAPPER: /usr/bin/sccache
|
RUSTC_WRAPPER: /usr/bin/sccache
|
||||||
SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com
|
SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com
|
||||||
@ -115,7 +115,7 @@ steps:
|
|||||||
- 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
|
||||||
- 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
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user