-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.gitlab-ci.yml
54 lines (50 loc) · 1.37 KB
/
.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
46
47
48
49
50
51
52
53
54
image: modm/modm-build:latest
variables:
LANG: "en_US.UTF-8"
SCONS_LIB_DIR: "/usr/local/lib/python3.6/dist-packages/scons-3.0.1"
SCONSFLAGS: "-j3"
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.roboterclub.rwth-aachen.de/rca/rca-ci-helper.git
- rca-ci-helper/populate_rca_software.sh
gen-kicad-pcb-pdfs:
image: ghcr.io/rleh/kicad5_and_pandoc:latest
before_script:
- which kicad
- which kibot
- kibot --version
script:
- export CONFIGFILE=$(readlink -f config.kibot.yaml)
- cd kicad
- for d in macro-motor/ micro-motor-v2/; do pushd $d; kibot -c ${CONFIGFILE}; popd; done
artifacts:
paths:
- kicad/**/*pdf
expire_in: 2 hours
# The latest artifacts of a branch or tag will be kept (with the default settings)!
# So no need to remove or increase the expiring time.
compile-src:
script:
- locale -a
- scons --version
- which arm-none-eabi-g++
- arm-none-eabi-g++ --version
- lbuild -h | head -n1
- cd src/test_blink
- lbuild build
- scons
- cd ../../src/test_can
- lbuild build
- scons
- cd ../../src/test_gatedriver
- lbuild build
- scons
- cd ../../src/test_pwm
- lbuild build
- scons
- cd ../../src/test_dc_motor
- lbuild build
- scons
- cd ../../src/test_bldc_motor
- lbuild build
- scons