make bootfiles in travis-ci

original commit: af7ea3bab08aa0d64b4b06373a0d9d9be320fd0f
This commit is contained in:
Gustavo Massaccesi 2019-06-02 09:03:09 -03:00
parent 6cd6071c3a
commit 6a353c5a0e
2 changed files with 53 additions and 28 deletions

View File

@ -2,14 +2,14 @@ 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
#- 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
@ -21,6 +21,7 @@ matrix:
- lib32ncurses5-dev
- libx32ncurses5-dev
- uuid-dev:i386
- libssl-dev:i386
- env: TARGET_MACHINE=ti3le
os: linux
addons:
@ -30,33 +31,36 @@ matrix:
- lib32ncurses5-dev
- libx32ncurses5-dev
- uuid-dev:i386
- libssl-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
#- 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
before_script:
- .travis/dobootfile.sh
script:
- .travis/build.sh
- .travis/test.sh

21
.travis/dobootfile.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash -v
cd ..
case $TARGET_MACHINE in
*i3le|ti3le) INST=i386;;
*a6le|ta6le) INST=x86_64;;
*)
esac
curl -L -o installer.sh http://www.cs.utah.edu/plt/snapshots/current/installers/min-racket-current-${INST}-linux-precise.sh
sh installer.sh --in-place --dest ~/racket/
~/racket/bin/racket -v
~/racket/bin/raco pkg install -i --auto --no-setup cs-bootstrap
~/racket/bin/raco setup -D cs-bootstrap
cd ChezScheme/
export MACH=$TARGET_MACHINE
~/racket/bin/racket -l cs-bootstrap