core/.forgejo/workflows/release.yaml
Tobias Reisinger 74a70406e3
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 1m17s
/ build-artifacts (x86_64-unknown-linux-gnu) (push) Failing after 6s
/ build-artifacts (x86_64-unknown-linux-musl) (push) Failing after 8s
Fix actions workflow
2024-05-02 22:04:56 +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