alcedo/.gitlab-ci.yml

36 lines
558 B
YAML
Raw Permalink Normal View History

2018-04-17 19:41:17 +01:00
image: nimlang/nim:alpine
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:
2018-04-29 02:48:43 +01:00
- './nakefile build'
2018-04-18 18:50:22 +01:00
only:
2018-04-28 17:01:00 +01:00
- tags
2018-04-29 02:48:43 +01:00
- triggers
- web
create_disc:
stage: deploy
dependencies:
- compile
script:
- 'apk add xorriso grub-bios'
- './nakefile build-release'
2018-05-01 20:11:14 +01:00
- './nakefile build-disc'
2018-04-29 02:48:43 +01:00
artifacts:
paths:
2018-05-01 20:11:14 +01:00
- alcedo.iso
2018-04-29 02:48:43 +01:00
only:
- tags
- triggers
- web