Setup CI
This commit is contained in:
parent
9257a0a81b
commit
cc7b6cb726
1 changed files with 4 additions and 7 deletions
11
appveyor.yml
11
appveyor.yml
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue