From 9a55c15c265145a7ebbe33a9474ffa038f547b78 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Sat, 25 Feb 2023 21:10:21 +0100 Subject: [PATCH] Basic arm64 CI --- .woodpecker.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..0cad8fa --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,24 @@ +platform: linux/arm64 +pipeline: + build: + image: alpine:edge + commands: + - apk update + - apk add rustup + - curl https://sh.rustup.rs -sSf | sh -s -- -y + - source $HOME/.cargo/env + - cd $CI_WORKSPACE + - cargo build --release + when: + platform: linux/arm64 + publish: + image: woodpeckerci/plugin-gitea-release + settings: + base_url: https://codeberg.org + title: "ALPHA" + notes: "$CI_COMMIT_MESSAGE" + prerelease: true + files: + - $CI_WORKSPACE/target/aarch64-unknown-linux-musl/release/little_town + api_key: + from_secret: API_KEY -- 2.38.5