Website Summary Files Commits Branches @commit @diff @stats
path: root / appveyor.yml
blob: 9cde8fd94204286d65207797c3978b1a99a1940c (plain) (blame)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '{build}'

image:
  - Visual Studio 2019
  - Ubuntu

environment:
  matrix:
    - 
      enabled_on_pr: yes

configuration:
  - Debug
  - Release

platform:
  - Win32
  - x64

build:
  project: JSImpl/solution/JSImpl.sln
  verbosity: minimal
  parallel: true

for:
-
  matrix:
    only:
      - image: Ubuntu
  build_script:
    - make -C $APPVEYOR_BUILD_FOLDER/JSImpl/solution -j config=`echo ${CONFIGURATION} | sed -e 'y/DR/dr/'``echo ${PLATFORM} | sed -e 's/x64/64/'`
  test_script:
    - '$APPVEYOR_BUILD_FOLDER/JSImpl/build/bin/$CONFIGURATION/Test'
  after_test:
    - curl -F "file=@$APPVEYOR_BUILD_FOLDER/test_detail.xml" "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID"

matrix:
    exclude:
      - image: Ubuntu
        platform: Win32


before_test:
  - appveyor AddMessage "Running Tests"
  - appveyor SetVariable -Name "GTEST_OUTPUT" -Value "xml"
  - echo Running tests for %APPVEYOR_JOB_ID%
  - sh: echo Running tests for $APPVEYOR_JOB_ID

test_script:
  - '%APPVEYOR_BUILD_FOLDER%/JSImpl/build/bin/%CONFIGURATION%/Test.exe'

after_test:
  - curl -F "file=@%APPVEYOR_BUILD_FOLDER%/test_detail.xml" https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%

clone_depth: 1

skip_commits:
  files:
    - '**/*.md'

branches:
    except:
        - gh-pages