-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
33 lines (29 loc) · 898 Bytes
/
.gitlab-ci.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
# Since I have at least one submodule in this project I want to make sure it's cloned.
variables:
GIT_SUBMODULE_STRATEGY: recursive
build-code:
# Currently using IDF v4.0 supplied from Espressif.
image: espressif/idf:release-v4.2
stage: build
cache:
paths:
- code/build
script:
- cd code
- idf.py build
- tar -zcf ../e28-cluster-${CI_COMMIT_REF_SLUG}-${CI_PIPELINE_ID}.tar.gz build
artifacts:
paths:
- e28-cluster-*.tar.gz
- code/build/partition_table/partition-table.bin
- code/build/bootloader/bootloader.bin
- code/build/e28-cluster.bin
build-schematics:
stage: build
image: registry.gitlab.com/dowster/eeshow:latest
script:
- cd pcb-design
- eeplot -o ../pcb-design-${CI_COMMIT_REF_SLUG}-${CI_PIPELINE_ID}.pdf schematic.pro
artifacts:
paths:
- pcb-design-${CI_COMMIT_REF_SLUG}-${CI_PIPELINE_ID}.pdf