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

.github/workflows/release.yml #37

.github/workflows/release.yml

.github/workflows/release.yml #37

Workflow file for this run

on:
create
jobs:
build-archimedes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- name: Cargo Check
run: cargo check
- name: Build
uses: houseabsolute/actions-rust-cross@v0.0.8
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