-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gitlab-ci.yml
45 lines (37 loc) · 876 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
34
35
36
37
38
39
40
41
42
43
44
45
image: mhoiting/platformio-cli-gd32v-docker:v0.2.0
stages:
- build
- publish
default:
artifacts:
name: "firmware"
expire_in: 1 week
paths:
- .pio/build/**/rvlink_fw_*.elf
- .pio/build/**/rvlink_fw_*.bin
- .pio/build/**/rvlink_fw_*.hex
when: always
build:gd32vf103c-start:
stage: build
script:
- pio --no-ansi run -e gd32vf103c-start
build:sipeed-longan-nano:
stage: build
script:
- pio --no-ansi run -e sipeed-longan-nano
build:sipeed-longan-nano-alt:
stage: build
script:
- pio --no-ansi run -e sipeed-longan-nano-alt
build:rvl-probe:
stage: build
script:
- pio --no-ansi run -e rvl-probe
publish:
stage: publish
only:
- tags
except:
- branches
script:
- ./scripts/gitlab-publish.sh