Tried to keep cargo home
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Sebastian 2022-07-02 14:07:31 +02:00
parent 4c3fe503f9
commit e287a32f86
1 changed files with 3 additions and 11 deletions

View File

@ -4,26 +4,17 @@ pipeline:
commands:
- cargo audit
vendor:
image: sebastian/apt-decoder-ci
commands:
- cargo vendor
- mkdir -p .cargo
- echo '[source.crates-io]' >> .cargo/config
- echo 'replace-with = "vendored-sources"' >> .cargo/config
- echo '[source.vendored-sources]' >> .cargo/config
- echo 'directory = ".vendor"' >> .cargo/config
build:
image: sebastian/apt-decoder-ci
commands:
- export CARGO_HOME=$(pwd)/cargo-home
- cargo build --release
build_appimage:
image: sebastian/apt-decoder-ci
group: build_release_files
commands:
- export CARGO_HOME=/root/.cargo
- export CARGO_HOME=$(pwd)/cargo-home
- cargo appimage
- mkdir -p release
- cp *.AppImage release/
@ -32,6 +23,7 @@ pipeline:
image: sebastian/apt-decoder-ci
group: build_release_files
commands:
- export CARGO_HOME=$(pwd)/cargo-home
- cargo build --target x86_64-pc-windows-gnu --release
- mkdir -p release
- cp target/x86_64-pc-windows-gnu/release/apt-decoder.exe release/