commit 6576c5371e5357712b73c74adc374cc463a8ed08 parent 32724d33ca6cb94dfccfd3e548c94888e87a9e7a Author: kaindume <cy6erlion@protonmail.com> Date: Thu, 22 Sep 2022 14:39:34 +0000 Update .gitlab-ci.yml Diffstat:
M | .gitlab-ci.yml | | | 41 | ++--------------------------------------- |
1 file changed, 2 insertions(+), 39 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -1,39 +1,2 @@ -.cargo_test_template: &cargo_test - stage: test - script: - - cd phora - - mkdir test-data - - cargo test -F sqlite --verbose --jobs 1 - -stages: - - test - - deploy - -stable:cargo: - image: rustdocker/rust:stable - <<: *cargo_test - -beta:cargo: - image: rustdocker/rust:beta - <<: *cargo_test - -nightly:cargo: - image: rustdocker/rust:nightly - <<: *cargo_test - -pages: - image: rustdocker/rust:stable - stage: deploy - only: - - root - script: - - cd phora - - cargo doc -F sqlite - - rm -rf public - - mkdir public - - cp -R target/doc/* public - artifacts: - paths: - - public - -# Reference: http://imp.gitlab.io/blog/blog/gitlab-ci-and-rust/ +# The Docker image that will be used to build your app +image: rustdocker/rust:stable