clippable/ci/cargo.yml
shockrah 1fd47481c8 + Base job for building cargo binaries
script field is the only that "userland" code needs to
override
2022-03-27 00:41:47 -07:00

17 lines
376 B
YAML

.cargo-builder:
image: rustlang/rust:nightly
only:
refs:
- master
before_script:
- mkdir -p build
- cp api/templates/ api/static/ build/ -r
after_script:
- cp api/target/release/clippable-server build/server
- cp ./scripts/ build/ -r
- cp readme.md build/
- sh ./scripts/default-rocket-toml.sh
artifacts:
paths:
- build/