forked from GamedevFramework/gf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
46 lines (40 loc) · 1.38 KB
/
Copy pathappveyor.yml
File metadata and controls
46 lines (40 loc) · 1.38 KB
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
version: '{build}-{branch}'
branches:
only:
- develop
- master
skip_tags: true
image:
- Visual Studio 2017
- Visual Studio 2019
- Visual Studio 2022
platform: x64
configuration:
- Debug
- Release
clone_folder: C:\projects\GF
cache:
- C:\Tools\vcpkg\installed\
install:
- cmd: cd C:\Tools\vcpkg
- cmd: git fetch
- cmd: git checkout 2023.11.20
- cmd: .\bootstrap-vcpkg.bat
- cmd: vcpkg integrate install
- cmd: vcpkg remove --outdated --recurse
- cmd: vcpkg install sdl2:x64-windows freetype:x64-windows zlib:x64-windows boost-algorithm:x64-windows boost-heap:x64-windows boost-container:x64-windows pugixml:x64-windows
# box2d:x64-windows sfml:x64-windows
before_build:
- cmd: cd C:\projects\GF
- cmd: git submodule update --init
- cmd: mkdir build
- cmd: cd build
- cmd: cmake -A x64 -DGF_DEBUG=OFF -DGF_BUILD_GAMES=OFF -DGF_SINGLE_COMPILTATION_UNIT=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=ON -DCMAKE_TOOLCHAIN_FILE=C:\Tools\vcpkg\scripts\buildsystems\vcpkg.cmake ..
build:
parallel: true
project: C:\projects\GF\build\GF.sln
verbosity: normal
#test_script:
#- cmd: C:\projects\GF\build\%CONFIGURATION%\gf_core_tests.exe --gtest_output=xml:C:\projects\GF\build\gf_core_tests.xml
#on_finish:
#- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\gf_core_tests.xml))