forked from arturo182/tinyuf2
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 897 Bytes
/
build.yml
File metadata and controls
34 lines (28 loc) · 897 Bytes
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
name: Build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
boards: ['mimxrt1010_evk','mimxrt1020_evk','pergola','pergola_ram','versiboard2']
steps:
- name: Setup Node.js
uses: actions/setup-node@v1.1.0
- name: Install Toolchains
run: |
npm install --global xpm
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`"
- name: Checkout TinyUSB
uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
git submodule sync --recursive
git submodule update --init --force --recursive
- name: Build
env:
BOARDS: ${{ matrix.boards }}
run: for board in $BOARDS; do make BOARD=$board; done