A .woodpecker.yml => .woodpecker.yml +24 -0
@@ 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