-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
executable file
·68 lines (68 loc) · 2 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
image:
- Ubuntu2004
- Visual Studio 2019
- Visual Studio 2022
# - macos
#platform:
# - x86
# - x64
test_script:
- cmd: cd build && ctest -C Debug
skip_commits: # Add [av skip] to commit messages to skip AppVeyor building
message: /\[av skip\]/
for:
-
matrix:
only:
- image: Ubuntu2004
clone_folder: ~/source
install:
- sudo apt-get update
#- sudo apt-get install ccache
- sudo apt-get --yes install python3-pip
- pip3 --version
- pip3 install conan
- source ~/.profile # Restart session so that conan is now in the PATH
- conan --version
build_script:
- cmake -S ~/source -B ./build
- cmake --build ./build
-
matrix:
only:
- image: Visual Studio 2019
environment:
PYTHON: "C:\\Python38-x64\\python.exe"
clone_folder: c:\projects\source
build_script:
- cmd: |
set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\Python\Python38\Scripts
"%PYTHON%" -m pip install --user conan
cmake -S c:\projects\source -B ./build -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE:STRING=Release
cmake --build ./build --config "Release"
-
matrix:
only:
- image: Visual Studio 2022
environment:
PYTHON: "C:\\Python38-x64\\python.exe"
clone_folder: c:\projects\source
build_script:
- cmd: |
set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\Python\Python38\Scripts
"%PYTHON%" -m pip install --user conan
cmake -S c:\projects\source -B ./build -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE:STRING=Release
cmake --build ./build --config "Release"
#-
# matrix:
# only:
# - image: macos
# configuration:
# - Release
# clone_folder: ~/source
# install:
# - brew update # Extremely Long
# - brew install conan
# build_script:
# - cmake -S ~/source -B ./build
# - cmake --build ./build