windows build
parent
476c80ff08
commit
e4bfd32191
|
@ -2,6 +2,7 @@ language: c
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
sudo: required
|
sudo: required
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -15,6 +16,9 @@ matrix:
|
||||||
- libglfw3-dev
|
- libglfw3-dev
|
||||||
- libfreetype6-dev
|
- libfreetype6-dev
|
||||||
- libcurl3-dev
|
- libcurl3-dev
|
||||||
|
- os: windows
|
||||||
|
language: sh
|
||||||
|
filter_secrets: false
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode10.2
|
osx_image: xcode10.2
|
||||||
addons:
|
addons:
|
||||||
|
@ -29,6 +33,11 @@ script:
|
||||||
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
||||||
sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
|
sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
|
||||||
fi
|
fi
|
||||||
|
- |
|
||||||
|
if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
|
||||||
|
choco install make
|
||||||
|
cp "C:\\ProgramData\\chocolatey\\bin\\gcc.exe" "C:\\ProgramData\\chocolatey\\bin\\cc.exe"
|
||||||
|
fi
|
||||||
- export VROOT=$(pwd)
|
- export VROOT=$(pwd)
|
||||||
- cd ./compiler
|
- cd ./compiler
|
||||||
- make
|
- make
|
||||||
|
|
Loading…
Reference in New Issue