-
Notifications
You must be signed in to change notification settings - Fork 6
/
.appveyor.yml
36 lines (31 loc) · 1.03 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
# Disabled for push/PR events in the AppVeyor settings
image:
- Visual Studio 2017
platform: x64
environment:
PYTHON: "C:\\Python38"
install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- pip.exe install conan
- conan user
- conan --version
- conan remote add bincrafters https://bincrafters.jfrog.io/artifactory/api/conan/public-conan
- conan config set general.revisions_enabled=1
- choco install -y innosetup
- set PATH=%PATH%;'C:\Program Files (x86)\Inno Setup 6';
- cd "%APPVEYOR_BUILD_FOLDER%"
- git submodule update --init --recursive
build_script:
- mkdir build
- conan install . -if="build"
- cd build
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmake .. -G "Visual Studio 15 2017 Win64"
- cmake --build . --config Release
after_build:
- cd "%APPVEYOR_BUILD_FOLDER%"
- iscc build\InnoSetup.iss
artifacts:
- path: 'build\Output\ETS2JobLogger-v*.exe'
- path: 'build\bin\ets2-job-logger.exe'
- path: 'build\bin\ets2-job-logger.dll'