core/.forgejo/workflows/release.yaml
Tobias Reisinger b5157623ca
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 16s
/ build-artifacts (x86_64-unknown-linux-gnu) (push) Failing after 10s
/ build-artifacts (x86_64-unknown-linux-musl) (push) Failing after 14s
Fix actions workflow
2024-05-02 22:14:39 +02:00

26 lines
805 B
YAML

on:
push:
tags:
- v**
jobs:
build-artifacts:
runs-on: docker
container:
image: registry.serguzim.me/emgauwa/runner
strategy:
matrix:
arch:
- x86_64-unknown-linux-gnu # for "standard" systems
- x86_64-unknown-linux-musl # for docker
- arm-unknown-linux-gnueabihf # for raspberry pi
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- id: cargo-build-release
run: |
source "$HOME/.cargo/env"
cross build --target ${{ matrix.arch }} --release
shell: bash
- uses: https://code.forgejo.org/actions/upload-artifact@v3
with:
name: emgauwa-core_${{ matrix.arch }}
path: ${{ github.workspace }}/target/${{ matrix.arch }}/release/emgauwa-core