-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2975fac
commit c527f76
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
notifications: | ||
email: false | ||
|
||
language: cpp | ||
|
||
os: linux | ||
dist: bionic | ||
|
||
jobs: | ||
include: | ||
- name: "STM32" | ||
env: | ||
- TOOLCHAIN=../32blit-beta/32blit.toolchain | ||
- RELEASE_FILE=${TRAVIS_BUILD_DIR}${REPO}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}-STM32 | ||
addons: | ||
apt: | ||
gcc-arm-none-eabi | ||
libnewlib-arm-none-eabi | ||
libstdc++-arm-none-eabi-newlib | ||
python3-pip | ||
python3-setuptools | ||
zip | ||
before_deploy: | ||
- make install | ||
- tar -zcf ${RELEASE_FILE}.tar.gz bin/ | ||
- zip -9 ${RELEASE_FILE}.zip bin/* | ||
deploy: | ||
provider: releases | ||
file: | ||
- ${RELEASE_FILE}.tar.gz | ||
- ${RELEASE_FILE}.zip | ||
on: | ||
tags: true | ||
edge: true | ||
|
||
install: | ||
- git clone --depth 1 https://github.com/pimoroni/32blit-beta | ||
- python3 -m pip install 32blit | ||
|
||
script: | ||
- mkdir build && cd build | ||
- cmake -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN -DCMAKE_INSTALL_PREFIX=`pwd` -D32BLIT_PATH=../32blit-beta $CMAKE_ARGS .. | ||
- cmake --build . |