Add Rev4 STEP file #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Rust | |
uses: ATiltedTree/setup-rust@v1 | |
with: | |
rust-version: stable | |
components: clippy | |
- name: Add rust target | |
run: rustup target install thumbv7m-none-eabi | |
- name: Install Toolchain for utils | |
run: sudo apt-get update && sudo apt-get install -y binutils-arm-none-eabi | |
- name: Make Target Dir | |
run: mkdir -p target | |
- name: Build | |
run: python build.py | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Artifacts | |
path: target | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: github.repository_owner == 'GrappleRobotics' && startsWith(github.ref, 'refs/tags/v') | |
with: | |
files: target/* |