-
Notifications
You must be signed in to change notification settings - Fork 3
/
.appveyor.yml
109 lines (81 loc) · 2.5 KB
/
.appveyor.yml
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
106
107
108
109
version: 1.0.{build}
clone_depth: 1
branches:
only:
- main
environment:
matrix:
- job_name: Windows x64
appveyor_build_worker_image: Visual Studio 2022
platform: x64
# - job_name: Windows ARM
# appveyor_build_worker_image: Visual Studio 2022
# platform: ARM
- job_name: Windows x86
appveyor_build_worker_image: Visual Studio 2019
- job_name: Linux x64
appveyor_build_worker_image: Ubuntu2204
# - job_name: Linux x86
# appveyor_build_worker_image: Ubuntu2204
- job_name: macOS Monterey
appveyor_build_worker_image: macos-monterey
matrix:
fast_finish: true
for:
- matrix:
only:
- job_name: Windows x64
build_script:
- cmd: mkdir Build
- cmd: cd Build
- cmd: cmake -A x64 ..
- cmd: cmake --build .
test_script:
- cmd: ctest -C Debug
# - matrix:
# only:
# - job_name: Windows ARM
# build_script:
# - cmd: mkdir Build
# - cmd: cd Build
# - cmd: cmake ..
# - cmd: cmake --build .
# test_script:
# - cmd: ctest -C Debug
- matrix:
only:
- job_name: Windows x86
build_script:
- cmd: mkdir Build
- cmd: cd Build
- cmd: cmake -A Win32 ..
- cmd: cmake --build .
test_script:
- cmd: ctest -C Debug
- matrix:
only:
- job_name: Linux x64
build_script:
- sh: mkdir Build
- sh: g++ -std=c++17 -g -O0 -Wall -Wextra -fno-exceptions -march=native -D QENTEM_SSE2=1 ./Tests/Test.cpp -I ./Include -o ./Build/QTest.bin
test_script:
- sh: ./Build/QTest.bin
- matrix:
only:
- job_name: Linux x86
install:
- sudo apt update
- sudo apt -y install gcc-multilib g++-multilib
build_script:
- sh: mkdir Build
- sh: g++ -std=c++11 -g -O0 -m32 -Wall -Wextra -fno-exceptions -march=native ./Tests/Test.cpp -I ./Include -o ./Build/QTest.bin
test_script:
- sh: ./Build/QTest.bin
- matrix:
only:
- job_name: macOS Monterey
build_script:
- sh: mkdir Build
- sh: clang++ -std=c++11 -g -O0 -Wall -Wextra -fno-exceptions -march=native ./Tests/Test.cpp -I ./Include -o ./Build/QTest.bin
test_script:
- sh: ./Build/QTest.bin