Add .gitlab-ci.yml
This commit is contained in:
parent
dce59cc08a
commit
e2ecfd8754
21
.gitlab-ci.yml
Normal file
21
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user