parent
2319e6df7a
commit
3d7bf79645
@ -1,6 +1,21 @@
|
|||||||
image: rascul3/rust:latest
|
image: rascul3/rust:latest
|
||||||
|
|
||||||
build:
|
release-build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cargo build
|
- cargo build --release
|
||||||
|
- mkdir public
|
||||||
|
- mv target/release/rewot public/rewot-bin
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public/
|
||||||
|
|
||||||
|
doc:
|
||||||
|
stage: doc
|
||||||
|
script:
|
||||||
|
- cargo doc
|
||||||
|
- mkdir public
|
||||||
|
- mv target/doc public/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public/
|
||||||
|
Loading…
Reference in new issue