image: nimlang/nim:alpine cache: paths: - .nimble/* before_script: - 'git fetch --tags' - 'apk update && apk add libressl-dev clang nasm grub' - 'nimble update && nimble install nake' - 'nim c nakefile' compile: stage: build script: - './nakefile build' artifacts: paths: - myos.bin only: - tags - 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