Rename emgauwa-lib to emgauwa-common
This commit is contained in:
parent
6340cfd5c7
commit
9bc75b9627
58 changed files with 135 additions and 100 deletions
.forgejo/workflows
33
.forgejo/workflows/release.yaml
Normal file
33
.forgejo/workflows/release.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- v**
|
||||
jobs:
|
||||
build-artifacts:
|
||||
runs-on: docker
|
||||
strategy:
|
||||
matrix:
|
||||
arch:
|
||||
#- x86_64-unknown-linux-musl # for docker
|
||||
- arm-unknown-linux-gnueabihf # for raspberry pi
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- id: install-dependencies
|
||||
run: |
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
shell: bash
|
||||
- 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
|
||||
- uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: emgauwa-controller_${{ matrix.arch }}
|
||||
path: ${{ github.workspace }}/target/${{ matrix.arch }}/release/emgauwa-controller
|
Loading…
Add table
Add a link
Reference in a new issue