mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
25 lines
692 B
YAML
25 lines
692 B
YAML
language: cpp
|
|
|
|
cache: apt
|
|
|
|
before_script:
|
|
- wget https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2 -O /tmp/gcc-arm.tar.bz2
|
|
- tar -xf /tmp/gcc-arm.tar.bz2
|
|
- ls -l gcc-arm-none-eabi-5_2-2015q4/bin
|
|
- export PATH=$PWD/gcc-arm-none-eabi-5_2-2015q4/bin:$PATH
|
|
- echo $PATH
|
|
- export CC="arm-none-eabi-gcc"
|
|
- export CXX="arm-none-eabi-g++"
|
|
|
|
script:
|
|
# TODO: Introduce top-level Makefile, this is lame.
|
|
- pushd firmware/
|
|
- make release
|
|
- popd
|
|
|
|
addons:
|
|
artifacts:
|
|
paths:
|
|
- $(ls firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":")
|
|
- $(ls firmware/portapack-h1-firmware-*.zip | tr "\n" ":")
|