Add .gitlab-ci.yml

This commit is contained in:
neviyn 2018-04-17 18:41:17 +00:00
parent dce59cc08a
commit e2ecfd8754

21
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,21 @@
image: nimlang/nim:alpine
variables:
GIT_DEPTH: "1"
cache:
paths:
- .nimble/*
before_script:
- 'apk update && apk add libressl-dev clang nasm grub'
- 'nimble update && nimble install nake'
- 'nim c nakefile'
compile:
stage: build
script:
- '~/.nimble/bin/nake build'
artifacts:
paths:
- myos.bin