-
Notifications
You must be signed in to change notification settings - Fork 34
/
appveyor.yml
124 lines (102 loc) · 3.46 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: 24.09.{build}
image:
- Visual Studio 2019
- macOS
- Ubuntu1804
stack: python 3.9
for:
# macOS
-
matrix:
only:
- image: macOS
clone_folder: ~/SimCenter
init:
- export PATH="$HOME/Qt/5.15.2/clang_64/bin:$HOME/venv3.9/bin:$PATH"
- python3 -m pip install --upgrade pip
- pip install conan==1.60.1
- conan user
- conan remote add simcenter https://nherisimcenter.jfrog.io/artifactory/api/conan/simcenter
install:
- uname
- rm -rf SimCenterBackendApplications
- git clone https://github.com/JustinBonus/SimCenterBackendApplications.git
build_script:
# build SimCenterBackendApplications
- cd SimCenterBackendApplications
- chmod 'u+x' makeEXE.sh
- ./makeEXE.sh
- cd ..
test_script:
- qmake --version
- gcc --version
- python --version
- python3 --version
# Ubuntu1804
-
matrix:
only:
- image: Ubuntu1804
clone_folder: ~/SimCenter
init:
- export PATH="$HOME/Qt/5.15.2/gcc_64/bin:$HOME/venv3.9/bin:$PATH"
- export PATH="/home/appveyor/.local/bin:$PATH"
install:
- uname
- sudo update-alternatives --set gcc /usr/bin/gcc-9
- sudo apt-get -y install libglu1-mesa-dev freeglut3-dev mesa-common-dev libblas-dev liblapack-dev
- python3 -m pip install --upgrade pip
- pip install conan==1.60.1
- conan user
- conan remote add simcenter https://nherisimcenter.jfrog.io/artifactory/api/conan/simcenter
- rm -rf SimCenterBackendApplications
- git clone https://github.com/JustinBonus/SimCenterBackendApplications.git
build_script:
# build SimCenterBackendApplications
- cd SimCenterBackendApplications
- chmod 'u+x' makeEXE.sh
- ./makeEXE.sh
- cd ..
test_script:
- qmake --version
- gcc --version
- python --version
- python3 --version
# Visual Studio 2019
-
matrix:
only:
- image: Visual Studio 2019
clone_folder: c:\projects\SimCenter
init:
- cmd: set PYTHON=C:\PYTHON38-x64
- cmd: set PYTHONNET_PYDLL=%PYTHON%\python3.9.dll
- cmd: set QT=C:\Qt\5.15.2\msvc2019_64\bin
- cmd: set PATH=%PYTHON%;%PYTHON%\Scripts;%QT%;%PATH%
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmd: pip.exe install conan==1.60.1
- cmd: conan user
- cmd: conan profile new default --detect
- cmd: conan profile show default
- cmd: conan profile update settings.compiler="Visual Studio" default
- cmd: conan profile update settings.compiler.version="16" default
- cmd: conan remote add simcenter https://nherisimcenter.jfrog.io/artifactory/api/conan/simcenter
- cmd: echo %PATH%
install:
- cmd: rm -rf SimCenterBackendApplications
- cmd: git clone https://github.com/JustinBonus/SimCenterBackendApplications.git
- cmd: dir
build_script:
# build simcenter backend
- cmd: dir
- cmd: cd SimCenterBackendApplications
- cmd: mkdir build
- cmd: cd build
- cmd: conan install .. --build missing
- cmd: cmake .. -G "Visual Studio 16 2019"
- cmd: cmake --build . --config Release
- cmd: cmake --install .
- cmd: cd ..
- cmd: cd ..
test_script:
-cmd: python --version