Updated BuildServices (asciidoc)

This commit is contained in:
Euan T 2017-06-25 23:14:48 +01:00
parent 8c8a8e136e
commit 5b734342d1
1 changed files with 39 additions and 1 deletions

View File

@ -23,6 +23,45 @@ nim c -r <mytest.nim>
Be aware that the available .deb packages will change over time.
## Building Nim projects on Circle CI v2.0 (Currently in Beta)
Circle CI are currently testing version 2 of their platform, where you can use Docker containers to perform builds. The following example is taken from the following guide and builds against the current Nim version on both Ubuntu and Alpine Linux: +https://www.euantorano.co.uk/posts/nim-circle-ci/[Continuous Integration for Nim using Circle CI]
[source,yaml]
----
version: 2
jobs:
build:
working_directory: /usr/src/dotenv
docker:
- image: nimlang/nim
branches:
only:
- master
steps:
- checkout
- run:
name: test
command: nim c -r tests/main.nim
build_alpine:
working_directory: /usr/src/dotenv
docker:
- image: nimlang/nim:alpine
branches:
only:
- master
steps:
- checkout
- run:
name: test
command: nim c -r tests/main.nim
workflows:
version: 2
build_and_test:
jobs:
- build
- build_alpine
----
## Building Nim projects on Travis CI
@ -135,4 +174,3 @@ deploy: off
----