2016-04-11 06:27:44 +00:00
|
|
|
image: ubuntu:xenial
|
|
|
|
|
|
|
|
before_script:
|
2016-04-11 06:32:22 +00:00
|
|
|
- sudo apt-get install curl
|
2016-04-11 06:27:44 +00:00
|
|
|
- curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh
|
|
|
|
- multirust default stable
|
2016-02-13 18:38:55 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
2016-04-11 06:27:44 +00:00
|
|
|
- deploy
|
2016-02-13 18:38:55 +00:00
|
|
|
|
|
|
|
job1:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- cargo test -v --manifest-path glsl-to-spirv/Cargo.toml
|
|
|
|
- cargo test -v --manifest-path vulkano-shaders/Cargo.toml
|
2016-04-11 06:27:44 +00:00
|
|
|
- cargo build -v --manifest-path vulkano/Cargo.toml
|
|
|
|
|
|
|
|
docs:
|
|
|
|
stage: deploy
|
2016-04-11 06:32:22 +00:00
|
|
|
only:
|
|
|
|
- master
|
2016-04-11 06:27:44 +00:00
|
|
|
script:
|
|
|
|
- cargo doc --manifest-path vulkano/Cargo.toml
|
2016-04-11 06:32:22 +00:00
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- cp target/doc/* public
|
|
|
|
dependencies:
|
|
|
|
- docs
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|