From e2ecfd8754fa51351e04098907cb5f758c19698b Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Tue, 17 Apr 2018 18:41:17 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ed6944a --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file