-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcircle.yml
More file actions
20 lines (17 loc) · 779 Bytes
/
circle.yml
File metadata and controls
20 lines (17 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dependencies:
cache_directories:
- Nim
- nimble
- ~/.nimble
pre:
- if [[ ! -e Nim/bin/nim ]]; then git clone -b master git://github.com/nim-lang/Nim.git && cd Nim && git clone -b master --depth 1 git://github.com/nim-lang/csources && cd csources && sh build.sh && cd ../ && ./bin/nim c koch && ./koch boot -d:release; fi
- ln -s `readlink -f Nim/bin/nim` /home/ubuntu/bin/nim
- if [[ ! -e ~/.nimble/bin/nimble ]]; then if [[ ! -e nimble ]]; then git clone https://github.com/nim-lang/nimble.git; fi; cd nimble && nim c -r src/nimble install -y; fi
- ln -s `readlink -f ~/.nimble/bin/nimble` /home/ubuntu/bin/nimble
- nimble update
- nimble install -y
test:
pre:
- nim c bitarray/bitarray.nim
override:
- ./bitarray/bitarray