36 lines
558 B
YAML
36 lines
558 B
YAML
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:
|
|
- './nakefile build'
|
|
only:
|
|
- tags
|
|
- triggers
|
|
- web
|
|
|
|
create_disc:
|
|
stage: deploy
|
|
dependencies:
|
|
- compile
|
|
script:
|
|
- 'apk add xorriso grub-bios'
|
|
- './nakefile build-release'
|
|
- './nakefile build-disc'
|
|
artifacts:
|
|
paths:
|
|
- alcedo.iso
|
|
only:
|
|
- tags
|
|
- triggers
|
|
- web
|