2018-11-06 11:36:26 +06:00
|
|
|
stages:
|
2019-01-01 04:29:56 +06:00
|
|
|
- test
|
2018-11-06 11:36:26 +06:00
|
|
|
- build
|
2019-01-01 04:29:56 +06:00
|
|
|
- deploy
|
2018-11-06 11:36:26 +06:00
|
|
|
|
2019-01-01 04:29:56 +06:00
|
|
|
Tests:
|
|
|
|
stage: test
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
tags:
|
|
|
|
- linux
|
|
|
|
image: ubuntu:18.10
|
|
|
|
before_script:
|
|
|
|
- apt-get update -qy
|
|
|
|
- apt-get install -y build-essential avr-libc binutils-arm-none-eabi binutils-avr dfu-programmer dfu-util gcc gcc-arm-none-eabi gcc-avr git libnewlib-arm-none-eabi unzip wget zip
|
|
|
|
- avr-gcc --version
|
|
|
|
- uname -a
|
|
|
|
script:
|
|
|
|
- make test:all
|
|
|
|
- make planck/rev6:default
|
|
|
|
|
|
|
|
QMK Firmware Defaults:
|
|
|
|
stage: deploy
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
tags:
|
|
|
|
- linux
|
|
|
|
image: ubuntu:18.10
|
|
|
|
before_script:
|
|
|
|
- apt-get update -qy
|
|
|
|
- apt-get install -y build-essential avr-libc binutils-arm-none-eabi binutils-avr dfu-programmer dfu-util gcc gcc-arm-none-eabi gcc-avr git libnewlib-arm-none-eabi unzip wget zip
|
|
|
|
- avr-gcc --version
|
|
|
|
- uname -a
|
|
|
|
script:
|
|
|
|
- make test:all
|
|
|
|
- make all:default -j16
|
|
|
|
|
|
|
|
Drashna Firmware:
|
2018-11-06 11:36:26 +06:00
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
tags:
|
|
|
|
- linux
|
2019-01-01 04:29:56 +06:00
|
|
|
image: ubuntu:18.10
|
|
|
|
before_script:
|
|
|
|
- apt-get update -qy
|
|
|
|
- apt-get install -y build-essential avr-libc binutils-arm-none-eabi binutils-avr dfu-programmer dfu-util gcc gcc-arm-none-eabi gcc-avr git libnewlib-arm-none-eabi unzip wget zip
|
|
|
|
- avr-gcc --version
|
|
|
|
script:
|
|
|
|
- make iris/rev2:drashna iris/rev2:drashna_old ergodox_ez:drashna ergodox_ez:drashna_glow viterbi/rev1:drashna orthodox/rev1:drashna orthodox/rev3:drashna crkbd:drashna planck/light:drashna planck/rev6:drashna fractal:drashna
|
|
|
|
artifacts:
|
|
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- ./*.hex
|
|
|
|
- ./*.bin
|
|
|
|
expire_in: 1 month
|
|
|
|
|
|
|
|
Firmware Deploy:
|
|
|
|
stage: deploy
|
|
|
|
dependencies:
|
|
|
|
- Drashna Firmware
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
tags:
|
|
|
|
- linux
|
|
|
|
image: ubuntu:18.10
|
2018-11-06 11:36:26 +06:00
|
|
|
before_script:
|
|
|
|
- apt-get update -qy
|
2019-01-01 04:29:56 +06:00
|
|
|
- apt-get install -y build-essential avr-libc binutils-arm-none-eabi binutils-avr dfu-programmer dfu-util gcc gcc-arm-none-eabi gcc-avr git libnewlib-arm-none-eabi unzip wget zip
|
2018-11-06 11:36:26 +06:00
|
|
|
- avr-gcc --version
|
|
|
|
script:
|
2019-01-01 04:29:56 +06:00
|
|
|
- make iris/rev2:drashna:production iris/rev2:drashna_old:production ergodox_ez:drashna ergodox_ez:drashna_glow viterbi/rev1:drashna:production orthodox/rev1:drashna:production orthodox/rev3:drashna:production crkbd:drashna:production planck/light:drashna planck/rev6:drashna fractal:drashna:production
|
2018-11-06 11:36:26 +06:00
|
|
|
artifacts:
|
|
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- ./*.hex
|
|
|
|
- ./*.bin
|
2019-01-01 04:29:56 +06:00
|
|
|
expire_in: 1 month
|