forked from bitcraze/aideck-gap8-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (42 loc) · 1.34 KB
/
Copy pathCI.yml
File metadata and controls
55 lines (42 loc) · 1.34 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# CI jobs
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
nina:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
submodules: true
- name: build
run: docker run --rm -v $PWD:/module simatai/espidf:3.3.1 /bin/bash -c "cd NINA/firmware; make clean; make all;"
- name: store-nina-build
uses: actions/upload-artifact@v2
with:
name: nina-firmware
path: |
NINA/firmware/build/*.bin
NINA/firmware/build/bootloader/bootloader.bin
NINA/firmware/build/*.elf
NINA/firmware/build/*.map
gap8:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
submodules: true
- name: build
run: docker run --rm -v $PWD:/module/data/ simatai/gapsdk:3.8.1 /bin/bash -c "source /gap_sdk/configs/ai_deck.sh; cd GAP8/test_functionalities/wifi_jpeg_streamer; make clean all;"
- name: store-gap8-build
uses: actions/upload-artifact@v2
with:
name: gap8-firmware
path: GAP8/test_functionalities/wifi_jpeg_streamer/BUILD