Added documentation generation to the pipeline, this can be retreived as an artifact and deployed on the webserver from master.
96 lines
1.6 KiB
YAML
96 lines
1.6 KiB
YAML
stages:
|
|
- Generate Stub and Versions
|
|
- Generate Version Files
|
|
- Compile Sources
|
|
- Link
|
|
- Generate ISO
|
|
- Generate Documentation
|
|
|
|
compile_stub:
|
|
stage: Generate Stub and Versions
|
|
script:
|
|
- chmod +x ./compile_stub.sh
|
|
- ./compile_stub.sh
|
|
artifacts:
|
|
paths:
|
|
- lib/stub.o
|
|
|
|
vergen:
|
|
stage: Generate Stub and Versions
|
|
script:
|
|
- chmod +x ./compile_vergen.sh
|
|
- ./compile_vergen.sh
|
|
artifacts:
|
|
paths:
|
|
- release/*.svg
|
|
- src/include/asuro.pas
|
|
|
|
compile_sources:
|
|
stage: Compile Sources
|
|
script:
|
|
- chmod +x ./compile_sources.sh
|
|
- ./compile_sources.sh
|
|
artifacts:
|
|
paths:
|
|
- lib/*.o
|
|
dependencies:
|
|
- compile_stub
|
|
- vergen
|
|
needs:
|
|
- vergen
|
|
- compile_stub
|
|
|
|
link:
|
|
stage: Link
|
|
script:
|
|
- chmod +x ./compile_link.sh
|
|
- ./compile_link.sh
|
|
artifacts:
|
|
paths:
|
|
- bin/kernel.bin
|
|
dependencies:
|
|
- compile_sources
|
|
needs:
|
|
- compile_sources
|
|
|
|
isogen:
|
|
stage: Generate ISO
|
|
script:
|
|
- chmod +x ./compile_isogen.sh
|
|
- ./compile_isogen.sh
|
|
artifacts:
|
|
paths:
|
|
- ./Asuro.iso
|
|
dependencies:
|
|
- link
|
|
needs:
|
|
- link
|
|
|
|
sourcelist_gen:
|
|
stage: Generate Documentation
|
|
script:
|
|
- chmod +x ./compile_sourcelist.sh
|
|
- ./compile_sourcelist.sh
|
|
artifacts:
|
|
paths:
|
|
- ./sources.list
|
|
dependencies:
|
|
- vergen
|
|
needs:
|
|
- vergen
|
|
|
|
docgen:
|
|
stage: Generate Documentation
|
|
script:
|
|
- chmod +x ./compile_docs.sh
|
|
- ./compile_docs.sh
|
|
artifacts:
|
|
paths:
|
|
./doc/*
|
|
dependencies:
|
|
- vergen
|
|
- sourcelist_gen
|
|
needs:
|
|
- vergen
|
|
- sourcelist_gen
|