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
21
.travis.yml
21
.travis.yml
|
@ -1,7 +1,18 @@
|
|||
dist: focal
|
||||
language: cpp
|
||||
|
||||
arch:
|
||||
- arm64
|
||||
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:
|
||||
|
@ -17,7 +28,3 @@ addons:
|
|||
- libevdev-dev
|
||||
- libsdl2-dev
|
||||
- libsdl2-image-dev
|
||||
|
||||
language: cpp
|
||||
|
||||
script: source/linux/build.sh
|
||||
|
|
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