Nim/.gitlab-ci.yml
Dominik Picheta b790159bb9 CI: NSIS fixes and temporary removal of Linux builds.
Squashed commit of the following:

commit af422c72ccd31054ecb097313275e538c2c8f1ad
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Thu Sep 29 00:42:39 2016 +0200

    CI: Another attempt.

commit f187712192bf80394d0efd7e8ebfcdc07a13ca5a
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Thu Sep 29 00:32:53 2016 +0200

    CI: Remove building of docs before NSIS build.

commit 92abf82d9400ff7f03d7fbfdaaeeb2ee93e803a5
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Thu Sep 29 00:18:24 2016 +0200

    CI: Attempt to fix incorrect mingw arch.

commit 2ec54f89f9725208559f2080dd0f1533b9ae27e0
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Wed Sep 28 23:40:51 2016 +0200

    CI: Rebuild koch so that correct mingw links are put in NSIS.

commit 3118f0fea6fb8d7178e9267d3bf198b4784cb247
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Wed Sep 28 22:36:40 2016 +0200

    CI: Fixes ci

commit fc4d14aa325dc1a95cf63092b209b919df450dcd
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Wed Sep 28 22:35:00 2016 +0200

    CI: Disable linux for now.
2016-09-29 01:19:43 +02:00

60 lines
891 B
YAML

image: ubuntu:16.04
stages:
- pre-build
- build
- deploy
- test
.linux_set_path: &linux_set_path_def
before_script:
- export PATH=$(pwd)/bin:$PATH
tags:
- linux
.windows_set_path: &win_set_path_def
before_script:
- set PATH=%CD%\bin;%PATH%
tags:
- windows
build-windows:
stage: build
script:
- ci\build.bat
artifacts:
paths:
- bin\nim.exe
- bin\nimd.exe
- compiler\nim.exe
- koch.exe
expire_in: 1 week
tags:
- windows
deploy-windows:
stage: deploy
script:
- koch.exe winrelease
artifacts:
paths:
- build/*.exe
expire_in: 1 week
tags:
- windows
- fast
test-windows:
stage: test
<<: *win_set_path_def
script:
- call ci\deps.bat
- nim c --taintMode:on tests\testament\tester
- tests\testament\tester.exe --pedantic all
tags:
- windows
- fast