-
Notifications
You must be signed in to change notification settings - Fork 50
36 lines (32 loc) · 1.23 KB
/
release.yml
File metadata and controls
36 lines (32 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: "Release"
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- name: checkout submodules
run: git submodule update --init --recursive
- name: install toolchain
run: sudo apt -y install gcc-arm-none-eabi
- name: check toolchain
run: arm-none-eabi-gcc --version
- name: build varmint_10X
run: mkdir varmint_10X_build && cd varmint_10X_build && cmake .. -DBOARD_TO_BUILD=varmint_10X && make
- name: build varmint_11X
run: mkdir varmint_11X_build && cd varmint_11X_build && cmake .. -DBOARD_TO_BUILD=varmint_11X && make
- name: build pixracer pro
run: mkdir pixracer_pro_build && cd pixracer_pro_build && cmake .. -DBOARD_TO_BUILD=pixracer_pro && make
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
varmint_10X_build/boards/varmint_h7/varmint_10X.hex
varmint_11X_build/boards/varmint_h7/varmint_11X.hex
pixracer_pro_build/boards/varmint_h7/pixracer_pro.hex