Debian Codegraph @

.appveyor.yml

raw symbols SCIP
1 version: '0.9.3-{build}'
2
3 branches:
4 only:
5 - master
6 - /\d+\.\d+\.\d+(-\d+)?/
7
8 clone_depth: 5
9
10 image:
11 - Visual Studio 2015
12 - Ubuntu
13
14 configuration:
15 - Release
16
17 platform:
18 - x86
19 - x64
20
21 only_commits:
22 files:
23 - CMakeLists.txt
24 - appveyor.yml
25 - src/
26 - cmake_extras/
27 - appveyor_scripts/
28
29 environment:
30 global:
31 MSYS_DIR: c:\msys64
32 matrix:
33 - MSYS_ARCH: i686
34 MSYSTEM: mingw32
35 SKIPPCH: -DSKIP_PCH=0
36 CMAKE: /mingw32/bin/cmake
37 NINJA: /mingw32/bin/ninja
38 - MSYS_ARCH: x86_64
39 MSYSTEM: mingw64
40 SKIPPCH: -DSKIP_PCH=1
41 CMAKE: /mingw64/bin/cmake
42 NINJA: /mingw64/bin/ninja
43
44 matrix:
45 exclude:
46 - image: Visual Studio 2015
47 platform: x86
48 - image: Ubuntu
49 MSYS_ARCH: i686
50
51 before_build:
52 - cmd: set PATH=%MSYS_DIR%\usr\bin;%PATH%
53 - cmd: bash -lc "pacman --noconfirm --needed -S mingw-w64-$MSYS_ARCH-cmake mingw-w64-$MSYS_ARCH-ninja"
54 - mkdir build
55 - cmd: bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; PATH=/$MSYSTEM/bin:/usr/bin:$PATH; exec 0</dev/null; $CMAKE .. -G \"Ninja\" -DCMAKE_BUILD_TYPE=Release -DSKIP_FC_GUI=1 -DNO_TEST_EXE=1 $SKIPPCH"
56
57 build_script:
58 - cmd: bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; PATH=/$MSYSTEM/bin:/usr/bin:$PATH; exec 0</dev/null; $NINJA"
59 - sh: |
60 sudo service docker start
61 python3 appveyor_scripts/docker-build.py $PLATFORM
62
63 after_build:
64 - cmd: bash -lc "cd $APPVEYOR_BUILD_FOLDER/build/bin; strip --strip-unneeded *.exe"
65 - sh: sudo chown -R $(id -u):$(id -g) $APPVEYOR_BUILD_FOLDER/build/bin
66 - sh: cd $APPVEYOR_BUILD_FOLDER/build/bin && ls -la && strip --strip-unneeded flightcrew-*
67
68 test_script:
69 - cmd: set PATH=%APPVEYOR_BUILD_FOLDER%\build\bin;%PATH%
70 - cmd: echo %PATH%
71 - cmd: where flightcrew-plugin
72 - cmd: flightcrew-plugin --version
73 - sh: export PATH=$APPVEYOR_BUILD_FOLDER/build/bin:$PATH
74 - sh: echo $PATH
75 - sh: which flightcrew-plugin
76 - sh: flightcrew-plugin --version
77
78 artifacts:
79 - path: build\bin\*.exe
80 - path: build\bin\flightcrew-*