aboutsummaryrefslogtreecommitdiff
path: root/src/teakra/appveyor.yml
blob: 84e15c655e74449e08dc4b57d65d89f0b2a23faa (plain)
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
# shallow clone
clone_depth: 5

environment:
  matrix:
    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
      cmake_generator: "Visual Studio 15 2017 Win64"

platform:
  - x64

configuration:
  - Release

install:
  - git submodule update --init --recursive

before_build:
  - mkdir build
  - cd build
  - cmake .. -G "%cmake_generator%" -DTEAKRA_TEST_ASSETS_DIR="%USERPROFILE%\assets" -DTEAKRA_RUN_TESTS=ON
  - cd ..

cache:
  - '%USERPROFILE%\assets'

build:
  project: build/teakra.sln
  parallel: true

test_script:
- cd build && ctest -VV -C Release && cd ..