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