-
Notifications
You must be signed in to change notification settings - Fork 21
/
appveyor.yml
78 lines (64 loc) · 2.25 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
version: 0.0.{build}
max_jobs: 4
skip_tags: true
skip_commits:
files:
- '**/*.md'
- 'Res/**/*.*'
environment:
matrix:
- job_name: Linux build
appveyor_build_worker_image: Ubuntu2004
- job_name: macOS build
appveyor_build_worker_image: macOS
- job_name: Windows build
appveyor_build_worker_image: Visual Studio 2022
# job-specific configurations
for:
-
matrix:
only:
- job_name: Linux build
clone_script:
- sh: git clone -q --branch=$APPVEYOR_REPO_BRANCH https://github.com/$APPVEYOR_REPO_NAME.git $APPVEYOR_BUILD_FOLDER
- sh: cd $APPVEYOR_BUILD_FOLDER
- sh: git checkout -q $APPVEYOR_REPO_COMMIT
- sh: git submodule update --init --recursive
build_script:
- sh: sudo update-alternatives --set gcc /usr/bin/gcc-8
- sh: sudo apt install x11-apps x11-common x11-utils libxrandr-dev libxinerama-dev libxi-dev libxxf86vm-dev libxcursor-dev -y
- sh: cd Script
- sh: bash SetupLinux.sh
- sh: bash BuildAssimpLinux.sh
- sh: bash BuildGLADLinux.sh
- sh: bash BuildEngineLinux.sh
-
matrix:
only:
- job_name: macOS build
clone_script:
- sh: git clone -q --branch=$APPVEYOR_REPO_BRANCH https://github.com/$APPVEYOR_REPO_NAME.git $APPVEYOR_BUILD_FOLDER
- sh: cd $APPVEYOR_BUILD_FOLDER
- sh: git checkout -q $APPVEYOR_REPO_COMMIT
- sh: git submodule update --init --recursive
build_script:
- sh: cd Script
- sh: bash SetupMac.sh
- sh: bash BuildAssimpMac-Xcode.sh
- sh: bash BuildGLADMac-Xcode.sh
- sh: bash BuildEngineMac-Xcode.sh
-
matrix:
only:
- job_name: Windows build
clone_script:
- cmd: git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: git checkout -q %APPVEYOR_REPO_COMMIT%
- cmd: git submodule update --init --recursive
build_script:
- cmd: cd Script
- cmd: powershell -ExecutionPolicy RemoteSigned -File SetupWin.ps1 -Wait
- cmd: powershell -ExecutionPolicy RemoteSigned -File BuildAssimpWin.ps1 -Wait
- cmd: powershell -ExecutionPolicy RemoteSigned -File BuildPhysXWin.ps1 -Wait
- cmd: powershell -ExecutionPolicy RemoteSigned -File BuildEngineWin.ps1 -Wait