image: $CI_REGISTRY/sw4j-net/noweb-nasm:latest stages: - extract - build - deploy asm: image: $CI_REGISTRY/sw4j-net/noweb:latest stage: extract script: - make -C asm asm artifacts: paths: - asm/*.asm expire_in: 1 hour tex: image: $CI_REGISTRY/sw4j-net/noweb:latest stage: extract script: - make -C pdf tex artifacts: paths: - pdf/Meltdown-Spectre.* expire_in: 1 hour build: image: $CI_REGISTRY/sw4j-net/nasm:latest stage: build script: - make prepare - make -t -C asm asm - make -C asm build dependencies: - asm artifacts: paths: - asm/*.asm - bin/* expire_in: 1 hour pdf: image: $CI_REGISTRY/sw4j-net/noweb:latest stage: build script: - make -C pdf pdf dependencies: - tex artifacts: paths: - pdf/*.pdf expire_in: 1 hour pages: image: $CI_REGISTRY/sw4j-net/jekyll:latest stage: deploy script: - gem install jekyll-theme-tactile-nogh - jekyll build -s site -d public - mkdir -p public/asm - cp asm/*.asm public/asm/ - mkdir -p public/bin - cp bin/* public/bin/ - cp pdf/Meltdown-Spectre.pdf public/ - zip public/asm.zip asm/*.asm - tar cf public/asm.tar asm/*.asm - tar czf public/asm.tar.gz asm/*.asm - tar cjf public/asm.tar.bz2 asm/*.asm artifacts: paths: - public only: - master