Skip to content
Snippets Groups Projects
Verified Commit 13e9cb52 authored by Louis's avatar Louis :fire:
Browse files

Build flit in Gitlab CI

parent bffc9310
No related branches found
No related tags found
No related merge requests found
Pipeline #72 passed with stage
in 58 seconds
image: "r.lcr.gr/microhacks/bevy-builder"
build-linux:
stage: build
before_script:
- export CARGO_HOME="${CI_PROJECT_DIR}/.cargo"
- export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH"
cache:
key: build-flit-linux
paths:
- .cargo/registry/cache
- .cargo/registry/index
- .cargo/git/db
- .cargo/bin/
- target/
script:
- cargo build --release
- strip target/release/flit
artifacts:
name: flit.linux.x86
paths:
- target/release/flit
expire_in: 1 day
only:
- trunk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment