Skip to content
Snippets Groups Projects
Commit 391995db authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Resolve "add gitlab-ci stages"

parent 0381a439
No related branches found
No related tags found
No related merge requests found
......@@ -34,19 +34,33 @@ before_script:
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
stages:
- test
- build
- deploy
test:cargo:
stage: test
script:
- rustc --version && cargo --version # Print version info for debugging
run_test_doc:
build:codes:
stage: build
script:
- cd codes
- ./run_tests.sh
- cd ../book
build:book:
stage: build
script:
- cd book
- mdbook test
- mdbook build
run_deploy_book:
deploy:book:
stage: deploy
only:
- main
script:
- cd book
- mdbook build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment