mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 16:25:31 +00:00
b507034df7
* Use shaderc instead of glsl-to-spirv for shader compilation * added some setup notes
31 lines
646 B
YAML
31 lines
646 B
YAML
image: ubuntu:xenial
|
|
|
|
before_script:
|
|
- apt-get update
|
|
- apt-get -y install sudo curl git file g++ cmake
|
|
- curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
|
|
- multirust default nightly
|
|
|
|
stages:
|
|
- test
|
|
- deploy
|
|
|
|
job1:
|
|
stage: test
|
|
script:
|
|
- cargo test -v --manifest-path vulkano-shaders/Cargo.toml
|
|
- cargo test --no-run -v --manifest-path vulkano/Cargo.toml
|
|
|
|
pages:
|
|
stage: deploy
|
|
only:
|
|
- master
|
|
script:
|
|
- cargo doc --manifest-path vulkano/Cargo.toml
|
|
- rm -rf public
|
|
- mkdir public
|
|
- cp -R vulkano/target/doc/* public
|
|
artifacts:
|
|
paths:
|
|
- public
|