Updated BuildServices (asciidoc)
This commit is contained in:
parent
8c8a8e136e
commit
5b734342d1
|
@ -23,6 +23,45 @@ nim c -r <mytest.nim>
|
||||||
|
|
||||||
Be aware that the available .deb packages will change over time.
|
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
|
## Building Nim projects on Travis CI
|
||||||
|
|
||||||
|
@ -135,4 +174,3 @@ deploy: off
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue