Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

.github/workflows/release.yml #10

.github/workflows/release.yml

.github/workflows/release.yml #10

Workflow file for this run

on:
create
jobs:
build-archimedes:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Cargo Check
run: cargo check
- name: Build
uses: houseabsolute/[email protected]
with:
command: build
target: armv7-unknown-linux-gnueabihf
args: "-p archimedes --locked --release"
toolchain: stable
- name: Run UPX
continue-on-error: true
uses: crazy-max/ghaction-upx@v3
with:
version: latest
files: target/armv7-unknown-linux-gnueabihf/release/archimedes
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/armv7-unknown-linux-gnueabihf/release/archimedes