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

Build arm64 version

parent 453c63da
No related branches found
No related tags found
No related merge requests found
Pipeline #99 passed with stage
in 2 minutes and 35 seconds
image: "r.lcr.gr/microhacks/bevy-builder"
build-linux:
image: "r.lcr.gr/microhacks/bevy-builder:latest"
stage: build
before_script:
- export CARGO_HOME="${CI_PROJECT_DIR}/.cargo"
- export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH"
cache:
key:
files:
- Cargo.lock
key: build-cache-arm64
paths:
- target
- .cargo/registry/cache
- .cargo/registry/index
- .cargo/git/db
- .cargo/bin/
- target/
script:
- cargo build --release
- strip target/release/crunch
......@@ -16,5 +20,32 @@ build-linux:
paths:
- target/release/crunch
expire_in: 1 day
only:
- trunk
build-arm64:
tags:
- arm64
image: "r.lcr.gr/microhacks/bevy-builder:arm64"
stage: build
before_script:
- export CARGO_HOME="${CI_PROJECT_DIR}/.cargo"
- export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH"
cache:
key: build-cache-arm64
paths:
- .cargo/registry/cache
- .cargo/registry/index
- .cargo/git/db
- .cargo/bin/
- target/
script:
- cargo build --release
- strip target/release/crunch
artifacts:
name: crunch.linux.arm64
paths:
- target/release/crunch
expire_in: 1 day
only:
- trunk
\ No newline at end of file
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