updated .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul 2024-12-02 20:34:56 +01:00
parent 044fa2b1f1
commit b5f195fa69

View File

@ -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