2015-09-01 01:10:07 -04:00
|
|
|
language: cpp
|
2015-09-01 01:07:34 -04:00
|
|
|
|
2015-09-01 01:58:11 -04:00
|
|
|
cache: apt
|
|
|
|
|
|
|
|
before_install:
|
2015-09-01 01:51:06 -04:00
|
|
|
- sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded -y
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y gcc-arm-none-eabi
|
2015-09-01 01:07:34 -04:00
|
|
|
|
2015-09-01 14:49:50 -04:00
|
|
|
before_script:
|
|
|
|
- export CC="arm-none-eabi-gcc"
|
|
|
|
- export CXX="arm-none-eabi-g++"
|
|
|
|
|
2015-09-01 01:32:31 -04:00
|
|
|
script:
|
2015-09-01 18:07:31 -04:00
|
|
|
# TODO: Introduce top-level Makefile, this is lame.
|
|
|
|
- pushd firmware/
|
2015-09-01 17:36:30 -04:00
|
|
|
- make release
|
2015-09-01 18:07:31 -04:00
|
|
|
- popd
|
2015-09-01 17:36:30 -04:00
|
|
|
|
|
|
|
addons:
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- $(ls firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":")
|
|
|
|
- $(ls firmware/portapack-h1-firmware-*.zip | tr "\n" ":")
|