From 6a353c5a0e00265f54d90c8dfa5b1b582255fd8b Mon Sep 17 00:00:00 2001 From: Gustavo Massaccesi Date: Sun, 2 Jun 2019 09:03:09 -0300 Subject: [PATCH] make bootfiles in travis-ci original commit: af7ea3bab08aa0d64b4b06373a0d9d9be320fd0f --- .travis.yml | 60 +++++++++++++++++++++++-------------------- .travis/dobootfile.sh | 21 +++++++++++++++ 2 files changed, 53 insertions(+), 28 deletions(-) create mode 100755 .travis/dobootfile.sh diff --git a/.travis.yml b/.travis.yml index ca9ea655d2..2d90521da2 100644 --- a/.travis.yml +++ b/.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 diff --git a/.travis/dobootfile.sh b/.travis/dobootfile.sh new file mode 100755 index 0000000000..aea46fc013 --- /dev/null +++ b/.travis/dobootfile.sh @@ -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 +