Skip to content

Commit

Permalink
Merge pull request #1 from cisco/master
Browse files Browse the repository at this point in the history
merge remote
  • Loading branch information
gongchengra authored Jan 9, 2020
2 parents 7728f94 + a3ea77d commit 0bfe69c
Show file tree
Hide file tree
Showing 463 changed files with 34,946 additions and 10,951 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.h linguist-language=C
*.ms linguist-language=Scheme
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,35 @@
/ti3nt/
/ti3osx/
/xc-*/
*.*run
/csug/math/csug/
/csug/Makefile
/csug/*.aux
/csug/*.html
/csug/*.tex
/csug/csug.ans
/csug/csug.bbl
/csug/csug.blg
/csug/*.haux
/csug/csug.htoc
/csug/*.idx
/csug/csug.ilg
/csug/csug.ind
/csug/csug.pdf
/csug/*.rfm
/csug/csug.sfm
/csug/csug.toc
/csug/*.hidx
/csug/libslisted*
/csug/libsrecorded*
/csug/*.log
/release_notes/math/release_notes/
/release_notes/Makefile
/release_notes/*.tex
/release_notes/*.aux
/release_notes/*.haux
/release_notes/*.html
/release_notes/*.htoc
/release_notes/*.htoc
/release_notes/*.log
/release_notes/release_notes.pdf
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "stex"]
path = stex
url = https://github.com/dybvig/stex
[submodule "lz4"]
path = lz4
url = https://github.com/lz4/lz4.git
63 changes: 63 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
language: c
matrix:
include:
# 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: bionic
script:
- .travis/build.sh
- .travis/test.sh
15 changes: 15 additions & 0 deletions .travis/build.sh
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'
4 changes: 4 additions & 0 deletions .travis/summary
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------- o=0 --------
-------- o=3 --------
-------- o=3 cp0=t --------
-------- o=3 cp0=t eval=interpret --------
21 changes: 21 additions & 0 deletions .travis/test.sh
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
Loading

0 comments on commit 0bfe69c

Please sign in to comment.