-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (31 loc) · 1.05 KB
/
compiling_examples.yml
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
37
name: compiling examples
on:
push:
paths:
- 'hardware/arduino/zunoG2/cores/**'
- 'hardware/arduino/zunoG2/ctt/**'
- 'hardware/arduino/zunoG2/device/**'
- 'hardware/arduino/zunoG2/libraries/**'
- 'toolchain/linux64/**'
- 'script/compiling_examples.py'
- '.github/workflows/compiling_examples.yml'
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v4
- name: Download libclang and arm gcc tools
run: |
wget "http://z-uno.z-wave.me/files/z-uno2/tc//libclang_11_0_1-linux64.tar.gz"
wget "http://z-uno.z-wave.me/files/z-uno2/tc//arm-none-eabi-gcc-10_3_1-linux64.tar.gz"
- name: Extract tools
run: |
mkdir tmp
tar -xvzf ./libclang_11_0_1-linux64.tar.gz -C ./tmp
tar -xvzf ./arm-none-eabi-gcc-10_3_1-linux64.tar.gz -C ./tmp
unzip ./toolchain/linux64/zme_make_linux64.zip -d ./tmp
- name: Checks compiling examples
run: |
python3 script/compiling_examples.py ./tmp "10.3.1"