-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
49 lines (32 loc) · 1.16 KB
/
appveyor.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
image: Ubuntu
environment:
BUILD_HOME: "/home/appveyor/projects/pigeon/Firmware/Pigeon/"
TOOLCHAIN_HOME: "/home/appveyor/toolchain"
TOOLCHAIN_URL: "https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2"
init:
install:
# Install Toolchain
- sh: >-
mkdir "$TOOLCHAIN_HOME"
echo -e "\e[93mDownload Toolchain...\e[0m"
appveyor DownloadFile "$TOOLCHAIN_URL" -FileName "$TOOLCHAIN_HOME/gcc-arm-none-eabi.tar.bz2"
echo -e "\e[93mInstall Toolchain...\e[0m"
tar -jxvf "$TOOLCHAIN_HOME/gcc-arm-none-eabi.tar.bz2" -C $TOOLCHAIN_HOME 1> /dev/null
export PATH="$PATH:$TOOLCHAIN_HOME/gcc-arm-none-eabi-7-2018-q2-update/bin"
echo -e "\e[93mDownload done.\e[0m"
build: off
build_script:
- sh: >-
echo -e "\e[93mBuild start...\e[0m"
cd $BUILD_HOME
make
echo -e "\e[93mBuild done...\e[0m"
artifacts:
- path: Firmware/Pigeon/build/*.elf Firmware/Pigeon/build/*.hex Firmware/Pigeon/build/*.bin
name: Build
# deploy:
# - provider: GitHub
# auth_token:
# secure: UJvLV2sU0F+95nz3pnGyD1qmfln+rWu2PqcImHFbLdHi8N0BbiLyhVUO+t4BZTCl
# artifact: Build
# prerelease: true