Created CircleCI (asciidoc)

This commit is contained in:
Federico Ceratto 2017-01-14 23:02:25 +00:00
parent 19d5f3d7ac
commit 86e84a8e20
1 changed files with 22 additions and 0 deletions

22
CircleCI.asciidoc Normal file
View File

@ -0,0 +1,22 @@
=== Building Nim projects on Circle CI
Building your code on Circle CI is useful to check regressions against the master and devel branches of Nim.
Same for your code documentation.
Configure the build:
Under Test Commands >> Dependency Commands >> Pre-dependency commands:
[source,sh]
----
wget http://http.us.debian.org/debian/pool/main/n/nim/nim_0.16.0-1_amd64.deb
wget http://http.us.debian.org/debian/pool/main/o/openssl1.0/libssl1.0.2_1.0.2j-4_amd64.deb
sudo dpkg -i *_amd64.deb
----
Under Test Commands >> Test Commands >> Test Commands:
[source,sh]
----
# This will fetch Nimble dependencies
nimble build -y
nim c -r <mytest.nim>
----