This commit is contained in:
Ganesh Viswanathan 2018-07-09 12:09:55 -05:00
commit cc7b6cb726

View file

@ -79,26 +79,23 @@ for:
NIM_VERSION: nim-0.18.0 NIM_VERSION: nim-0.18.0
install: install:
- echo $NIM_ARCHIVE - cd ~/projects
- if [ ! -e $NIM_ARCHIVE ]; then curl -s -o $NIM_ARCHIVE $NIM_URL; fi - if [ ! -e $NIM_ARCHIVE ]; then curl -s -o $NIM_ARCHIVE $NIM_URL; fi
- echo $?
- tar xJf $NIM_ARCHIVE - tar xJf $NIM_ARCHIVE
- cd $NIM_VERSION - cd $NIM_VERSION
- sh build.sh - sh build.sh
- bin/nim -d:release koch - bin/nim c -d:release koch
- ./koch boot -d:release - ./koch boot -d:release
- ./koch nimble -d:release - ./koch nimble -d:release
- set PATH=`pwd`/bin:~/.nimble/bin:$PATH - set PATH=`pwd`/bin:~/.nimble/bin:$PATH
- cd .. - cd ~/projects/nimgen
- echo `pwd`
- ls
on_finish: on_finish:
- zip buildlogs-lin.zip ~/.nimble/pkgs - zip buildlogs-lin.zip ~/.nimble/pkgs
- appveyor PushArtifact buildlogs-lin.zip - appveyor PushArtifact buildlogs-lin.zip
cache: cache:
- nim-0.18.0.tar.xz - ~/projects/nim-0.18.0.tar.xz
build_script: build_script:
- nimble install -y - nimble install -y