blob: 9c2d329ca65c5473df2fb8c34431a0868380999e (
plain)
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
|
name: TinyUSB CI
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Python
uses: actions/setup-python@v1
with:
python-version: 3.5
- name: Node.js
uses: actions/[email protected]
- name: Toolchains
run: |
# Install XPM
npm install --global xpm
# Install ARM GCC
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
export PATH=$PATH:`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-embed-gcc/*/.content/bin`
# Install RISCV GCC
xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
export PATH=$PATH:`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`
arm-none-eabi-gcc --version
riscv-none-embed-gcc --version
- name: Versions
run: |
arm-none-eabi-gcc --version
riscv-none-embed-gcc --version
- name: Git clone
uses: actions/checkout@v1
with:
submodules: true
|