File: appveyor.yml

package info (click to toggle)
libdivide 3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 248 kB
  • sloc: cpp: 1,885; ansic: 814; makefile: 2
file content (105 lines) | stat: -rw-r--r-- 2,952 bytes parent folder | download
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Automated Windows and Linux testing using appveyor.com
# https://ci.appveyor.com/projects

version: '{branch}-{build}'

image:
- Ubuntu1804
- Visual Studio 2015
- Visual Studio 2017

platform:
  - x86
  - x64

for:
  - matrix:
      only:
        - image: Ubuntu1804
          platform: x86
    environment:
      CFLAGS: "-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer"
      CXXFLAGS: "-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer"
    install:
      - sudo apt install --yes cppcheck
    build_script:
      - cmake . -DCMAKE_BUILD_TYPE=Debug
      - make VERBOSE=1
    test_script:
      - cppcheck . --error-exitcode=1 --force -i doc
      - ./tester
      - ./benchmark_branchfree

  - matrix:
      only:
        - image: Ubuntu1804
          platform: x64
    environment:
      CFLAGS: "-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer"
      CXXFLAGS: "-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer"
    install:
      - sudo apt install --yes cppcheck
    build_script:
      - CC=clang CXX=clang++ cmake . -DCMAKE_BUILD_TYPE=Debug
      - make VERBOSE=1
    test_script:
      - cppcheck . --error-exitcode=1 --force -i doc
      - ./tester
      - ./benchmark_branchfree

  - matrix:
      only:
        - image: Visual Studio 2015
          platform: x86
    environment:
      CFLAGS: "/DLIBDIVIDE_ASSERTIONS_ON"
      CXXFLAGS: "/DLIBDIVIDE_ASSERTIONS_ON"
    build_script:
      - cmake . -G "Visual Studio 14 2015"
      - cmake --build . --config Release
    test_script:
      - cd Release
      - tester.exe
      - benchmark_branchfree.exe

  - matrix:
      only:
        - image: Visual Studio 2015
          platform: x64
    environment:
      CFLAGS: "/DLIBDIVIDE_ASSERTIONS_ON"
      CXXFLAGS: "/DLIBDIVIDE_ASSERTIONS_ON"
    build_script:
      - cmake . -G "Visual Studio 14 2015 Win64"
      - cmake --build . --config Release
    test_script:
      - cd Release
      - tester.exe
      - benchmark_branchfree.exe

  - matrix:
      only:
        - image: Visual Studio 2017
          platform: x86
    build_script:
      - cmake . -G "Visual Studio 15 2017"
      - cmake --build . --config Release
    test_script:
      - cd Release
      - tester.exe
      - benchmark_branchfree.exe

  - matrix:
      only:
        - image: Visual Studio 2017
          platform: x64
    environment:
      CFLAGS: "/W3 /WX /DLIBDIVIDE_ASSERTIONS_ON"
      CXXFLAGS: "/W3 /WX /DLIBDIVIDE_ASSERTIONS_ON"
    build_script:
      - cmake . -G "Visual Studio 15 2017 Win64"
      - cmake --build . --config Release
    test_script:
      - cd Release
      - tester.exe
      - benchmark_branchfree.exe