-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Windows builds and update Linux dist to xenial
- Loading branch information
Bob Burger
committed
Apr 24, 2019
1 parent
01808c6
commit e44a209
Showing
7 changed files
with
107 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,62 @@ | ||
language: c | ||
matrix: | ||
include: | ||
- os: osx | ||
env: TARGET_MACHINE=i3osx | ||
- os: osx | ||
env: TARGET_MACHINE=ti3osx | ||
- os: osx | ||
env: TARGET_MACHINE=a6osx | ||
- os: osx | ||
env: TARGET_MACHINE=ta6osx | ||
- os: linux | ||
env: TARGET_MACHINE=i3le | ||
sudo: required | ||
- os: linux | ||
env: TARGET_MACHINE=ti3le | ||
sudo: required | ||
- os: linux | ||
env: TARGET_MACHINE=a6le | ||
- os: linux | ||
env: TARGET_MACHINE=ta6le | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- gcc-multilib | ||
- lib32ncurses5-dev | ||
- libx32ncurses5-dev | ||
# macOS | ||
- env: TARGET_MACHINE=i3osx | ||
os: osx | ||
- env: TARGET_MACHINE=ti3osx | ||
os: osx | ||
- env: TARGET_MACHINE=a6osx | ||
os: osx | ||
- env: TARGET_MACHINE=ta6osx | ||
os: osx | ||
|
||
# Linux | ||
- env: TARGET_MACHINE=i3le | ||
os: linux | ||
addons: | ||
apt: | ||
packages: | ||
- gcc-multilib | ||
- lib32ncurses5-dev | ||
- libx32ncurses5-dev | ||
- uuid-dev:i386 | ||
- env: TARGET_MACHINE=ti3le | ||
os: linux | ||
addons: | ||
apt: | ||
packages: | ||
- gcc-multilib | ||
- lib32ncurses5-dev | ||
- libx32ncurses5-dev | ||
- uuid-dev:i386 | ||
- env: TARGET_MACHINE=a6le | ||
os: linux | ||
- env: TARGET_MACHINE=ta6le | ||
os: linux | ||
|
||
# Windows | ||
- env: TARGET_MACHINE=i3nt | ||
os: windows | ||
before_script: | ||
- git config core.autocrlf false; rm .git/index; git reset --hard | ||
- choco install make -y | ||
- env: TARGET_MACHINE=ti3nt | ||
os: windows | ||
before_script: | ||
- git config core.autocrlf false; rm .git/index; git reset --hard | ||
- choco install make -y | ||
- env: TARGET_MACHINE=a6nt | ||
os: windows | ||
before_script: | ||
- git config core.autocrlf false; rm .git/index; git reset --hard | ||
- choco install make -y | ||
- env: TARGET_MACHINE=ta6nt | ||
os: windows | ||
before_script: | ||
- git config core.autocrlf false; rm .git/index; git reset --hard | ||
- choco install make -y | ||
dist: xenial | ||
script: | ||
- .travis/dobuild.sh | ||
- .travis/build.sh | ||
- .travis/test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
set -e -o pipefail | ||
echo 'travis_fold:start:build' | ||
echo Building Chez Scheme... | ||
./configure -m=$TARGET_MACHINE | ||
make | ||
case $TARGET_MACHINE in | ||
*a6nt) | ||
curl -Ls https://github.com/burgerrg/win-iconv/releases/download/v0.0.9/iconv-x64.dll > $TARGET_MACHINE/bin/$TARGET_MACHINE/iconv.dll | ||
;; | ||
*i3nt) | ||
curl -Ls https://github.com/burgerrg/win-iconv/releases/download/v0.0.9/iconv-x86.dll > $TARGET_MACHINE/bin/$TARGET_MACHINE/iconv.dll | ||
;; | ||
esac | ||
echo 'travis_fold:end:build' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
runmats() { | ||
echo travis_fold:start:mats | ||
echo make allxhelp "$@" | ||
make -C ${TARGET_MACHINE}/mats allxhelp "$@" 2>&1 | tee -a Make.out | grep '^matting ' | ||
echo travis_fold:end:mats | ||
} | ||
|
||
# Split these out so that we get output every 10 minutes on Windows builds. | ||
runmats o=0 | ||
runmats o=3 | ||
runmats o=3 cp0=t | ||
runmats o=3 cp0=t eval=interpret | ||
|
||
if [ -f ${TARGET_MACHINE}/mats/summary ]; then | ||
cat ${TARGET_MACHINE}/mats/summary | ||
diff -q .travis/summary ${TARGET_MACHINE}/mats/summary | ||
exit $? | ||
else | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters