This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
forked from yvt/openspades
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
83 lines (73 loc) · 2.41 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
version: CI Build {build} - AppVeyor
pull_requests:
do_not_increment_build_number: false
branches:
only:
- main
max_jobs: 2
image:
#- Visual Studio 2015
#- macOS-BigSur
- Ubuntu
platform:
- x86
configuration:
- Release
matrix:
fast_finish: true
artifacts:
openspadesplus/openspades.mk/
for:
-
matrix:
only:
- image: Ubuntu
- build_script:
- sh: "echo Installing dependencies"
- sh: "sudo apt-get update"
- sh: "sudo apt-get install pkg-config"
- sh: "sudo apt-get install libglew-dev"
- sh: "sudo apt-get install libcurl3-openssl-dev"
- sh: "sudo apt-get install libsdl2-image-dev"
- sh: "sudo apt-get install libalut-dev"
- sh: "sudo apt-get install libsdl2-dev"
- sh: "sudo apt-get install xdg-utils"
- sh: "sudo apt-get install libfreetype6-dev"
- sh: "sudo apt-get install libopus-dev"
- sh: "sudo apt-get install libopusfile-dev"
- sh: "sudo apt-get install imagemagick"
- sh: "sudo apt-get install libjpeg-dev"
- sh: "sudo apt-get install libxinerama-dev"
- sh: "sudo apt-get install libxft-dev"
- sh: "echo Finished!"
- sh: "echo Building OpenSpades+"
- sh: "git clone https://github.com/nonperforming/openspadesplus"
- sh: "cd openspadesplus"
- sh: "ls"
- sh: "./build.sh"
# - matrix:
# only:
# - image: macOS-BigSur
# - build_script:
# - sh:
# - brew install pkg-config
# - git clone https://github.com/nonperforming/openspadesplus
# - cd openspadesplus
# - vcpkg/bootstrap-vcpkg.sh
# - vcpkg/vcpkg install @vcpkg_x86_64-darwin.txt
# - mkdir openspades.mk
# - cd openspades.mk
# - cmake -G Ninja .. -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_OSX_ARCHITECTURES=x86_64 -D CMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -D VCPKG_TARGET_TRIPLET=x64-osx
# - ninja
# - matrix:
# only:
# - image: Visual Studio 2015
# - build_script:
# - ps:
# - git clone https://github.com/nonperforming/openspadesplus
# - cd openspadesplus
# - vcpkg/bootstrap-vcpkg.bat
# - vcpkg/vcpkg install @vcpkg_x86-windows.txt
# - mkdir openspades.mk
# - cd openspades.mk
# - cmake -A Win32 -D CMAKE_BUILD_TYPE=RelWithDebInfo -D VCPKG_TARGET_TRIPLET=x86-windows-static