~comcloudway/little_town

9a55c15c265145a7ebbe33a9474ffa038f547b78 — Jakob Meier 1 year, 8 months ago f9d6a5b
Basic arm64 CI
1 files changed, 24 insertions(+), 0 deletions(-)

A .woodpecker.yml
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