Attempt at building on Windows.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
3bf4e5648f
commit
1edec39462
2 changed files with 38 additions and 21 deletions
49
.travis.yml
49
.travis.yml
|
@ -1,23 +1,30 @@
|
||||||
dist: focal
|
|
||||||
|
|
||||||
arch:
|
|
||||||
- arm64
|
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- cmake
|
|
||||||
- libyaml-dev
|
|
||||||
- libminizip-dev
|
|
||||||
- qtbase5-dev
|
|
||||||
- qtmultimedia5-dev
|
|
||||||
- libqt5gamepad5-dev
|
|
||||||
- libboost-program-options-dev
|
|
||||||
- libncurses-dev
|
|
||||||
- libevdev-dev
|
|
||||||
- libsdl2-dev
|
|
||||||
- libsdl2-image-dev
|
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
script: source/linux/build.sh
|
matrix:
|
||||||
|
include:
|
||||||
|
|
||||||
|
- name: "AppleWin on Windows"
|
||||||
|
os: windows
|
||||||
|
script: ./CIBuild.bat
|
||||||
|
|
||||||
|
- name: "AppleWin on Linux"
|
||||||
|
os: linux
|
||||||
|
dist: focal
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
script: source/linux/build.sh
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- cmake
|
||||||
|
- libyaml-dev
|
||||||
|
- libminizip-dev
|
||||||
|
- qtbase5-dev
|
||||||
|
- qtmultimedia5-dev
|
||||||
|
- libqt5gamepad5-dev
|
||||||
|
- libboost-program-options-dev
|
||||||
|
- libncurses-dev
|
||||||
|
- libevdev-dev
|
||||||
|
- libsdl2-dev
|
||||||
|
- libsdl2-image-dev
|
||||||
|
|
10
CIBuild.bat
Normal file
10
CIBuild.bat
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
rem Commands to build AppleWin on travis
|
||||||
|
|
||||||
|
setlocal
|
||||||
|
|
||||||
|
choco install visualstudio2019community
|
||||||
|
choco install visualstudio2019-workload-nativedesktop
|
||||||
|
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsMSBuildCmd.bat"
|
||||||
|
|
||||||
|
MSBuild.exe /p:Configuration=Release AppleWinExpress2019.sln
|
Loading…
Add table
Reference in a new issue