make bootfiles in travis-ci
original commit: af7ea3bab08aa0d64b4b06373a0d9d9be320fd0f
This commit is contained in:
parent
6cd6071c3a
commit
6a353c5a0e
60
.travis.yml
60
.travis.yml
|
@ -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
21
.travis/dobootfile.sh
Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user