Add .gitlab-ci.yml
This commit is contained in:
parent
e26889ea09
commit
fdbf7d028a
38
.gitlab-ci.yml
Normal file
38
.gitlab-ci.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# This file is a template, and might need editing before it works on your project.
|
||||||
|
# see https://docs.gitlab.com/ee/ci/yaml/README.html for all available options
|
||||||
|
|
||||||
|
.before_script:
|
||||||
|
- echo "Before script section"
|
||||||
|
- echo "For example you might run an update here or install a build dependency"
|
||||||
|
- echo "Or perhaps you might print out some debugging details"
|
||||||
|
|
||||||
|
.after_script:
|
||||||
|
- echo "After script section"
|
||||||
|
- echo "For example you might do some cleanup here"
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- ./compile.sh
|
||||||
|
- artifacts:
|
||||||
|
paths:
|
||||||
|
- release/Asuro.iso
|
||||||
|
- Image.img
|
||||||
|
- release/*.svg
|
||||||
|
|
||||||
|
.test1:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- echo "Do a test here"
|
||||||
|
- echo "For example run a test suite"
|
||||||
|
|
||||||
|
.test2:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- echo "Do another parallel test here"
|
||||||
|
- echo "For example run a lint test"
|
||||||
|
|
||||||
|
.deploy1:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- echo "Do your deploy here"
|
Loading…
x
Reference in New Issue
Block a user