Updated CircleCI (asciidoc)
This commit is contained in:
parent
e6ea5508cd
commit
dd63cb3cd2
|
@ -1,24 +1 @@
|
||||||
=== Building Nim projects on Circle CI
|
See https://github.com/nim-lang/Nim/wiki/BuildServices[BuildServices]
|
||||||
|
|
||||||
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.2k-1_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>
|
|
||||||
----
|
|
||||||
|
|
||||||
Be aware that the available .deb packages will change over time.
|
|
Loading…
Reference in New Issue