Skip to content

Instantly share code, notes, and snippets.

@elbosso
Created May 11, 2018 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elbosso/03e11191b6137220607aac4a32f6f226 to your computer and use it in GitHub Desktop.
Save elbosso/03e11191b6137220607aac4a32f6f226 to your computer and use it in GitHub Desktop.
before_script:
- echo 'New job started'
after_script:
- echo 'Job finished'
stages:
- clean
- build-processors
- generate-algorithms
- generate-util
- generate-other-sources
- jars
- apps
- docs
- tests
clean:
stage: clean
script:
- ant clean
build_processors:
stage: build-processors
script:
- cd de/elbosso/util && ant build-processors
generate_algorithms:
stage: generate-algorithms
script:
- cd de/elbosso/algorithms && ant generate-src
artifacts:
paths:
- de/elbosso/algorithms/generated/
generate-util:
stage: generate-util
script:
- cd de/elbosso/util && ant generate-src
artifacts:
paths:
- de/elbosso/util/generator/generated/
- de/elbosso/util/validator/generated/
generate-dWb:
stage: generate-other-sources
script:
- cd de/elbosso/dataflowframework && ant generate-src
artifacts:
paths:
- de/elbosso/dataflowframework/generated/
notification:
stage: jars
script:
- cd de/elbosso/ui && ant notification
jdbc:
stage: jars
script:
- cd de/elbosso/db && ant jdbc
lowlevel:
stage: jars
script:
- cd de/elbosso/util && ant lowlevel
commons:
stage: jars
script:
- cd de/netsysit/webservice && ant makejar
- cd ../../elbosso/documents && ant makejar
- cd ../algorithms && ant makejar
- cd ../model && ant makejar
- cd ../../../org/syntax/jedit && ant makejar
- cd ../../json && ant makejar
- cd ../../de/elbosso/ressources && ant makedatajar
- cd ../ressources && ant makegfxjar
- cd ../../netsysit/echo2 && ant makejar
- cd ../../elbosso/forms && ant makejar
- cd ../ui && ant makejar
- cd ../util && ant makejar
apps:
stage: apps
script:
- cd de/elbosso/db && ant compile
- ant makejar
- ant plugins
- cd ../dataflowframework && ant compile
- ant makejar
- ant plugins
- cd ../tools && ant compile
docs:
stage: docs
script:
- cd de/elbosso/ui && ant docbookall
- cd ../dataflowframework && ant docbookall
- cd ../dataflowframework && ant apidocs
artifacts:
paths:
- de/elbosso/ui/../../netsysit/ui/dynamicsvg//doc/output/dmcc.pdf
- de/elbosso/dataflowframework/doc/output/handbook.pdf
tests:
stage: tests
script:
- cd de/elbosso/dataflowframework && ant perform-tests
- cd ../util && ant perform-tests
- cd ../tools && ant perform-tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment