alcedo/.gitlab-ci.yml

39 lines
588 B
YAML
Raw 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-17 19:41:17 +01:00
artifacts:
paths:
2018-04-18 18:50:22 +01:00
- myos.bin
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'
- './builddisc.sh'
artifacts:
paths:
- myos.iso
only:
- tags
- triggers
- web