Trying again
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Guillem Borrell 2022-11-29 23:37:38 +00:00
parent 84a3b33ae4
commit 1da96fa7ff

View file

@ -10,9 +10,17 @@ pipeline:
when: when:
event: tag event: tag
commands: commands:
- apt-get update && apt-get install -y gcc-aarch64-linux-gnu - apt-get update && apt-get install -y gcc-12-aarch64-linux-gnu
- rustup target add aarch64-unknown-linux-gnu - rustup target add aarch64-unknown-linux-gnu
- cargo build --release --target aarch64-unknown-linux-gnu - cargo build --release --target aarch64-unknown-linux-gnu
buildwinamd64:
image: rust:1-buster
when:
event: tag
commands:
- apt-get update && apt-get install -y gcc-mingw-w64-base
- rustup target add x86_64-pc-windows-gnu
- cargo build --release --target x86_64-pc-windows-gnu
release: release:
image: rust:1-buster image: rust:1-buster
when: when:
@ -21,6 +29,7 @@ pipeline:
commands: commands:
- curl --user guillem:$GITEA_API_KEY --upload-file target/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-amd64 - curl --user guillem:$GITEA_API_KEY --upload-file target/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-amd64
- curl --user guillem:$GITEA_API_KEY --upload-file target/aarch64-unknown-linux-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-aarch64 - curl --user guillem:$GITEA_API_KEY --upload-file target/aarch64-unknown-linux-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-aarch64
- curl --user guillem:$GITEA_API_KEY --upload-file target/x86_64-pc-windows-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-win-amd64
publish: publish:
image: rust:1-buster image: rust:1-buster
when: when: