Trying again
This commit is contained in:
parent
84a3b33ae4
commit
1da96fa7ff
|
@ -10,9 +10,17 @@ pipeline:
|
|||
when:
|
||||
event: tag
|
||||
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
|
||||
- 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:
|
||||
image: rust:1-buster
|
||||
when:
|
||||
|
@ -21,6 +29,7 @@ pipeline:
|
|||
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/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:
|
||||
image: rust:1-buster
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue