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

Fix CI

parent c8ca444f
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ build-windows:
artifacts:
expire_in: 1 day
paths:
- target/x86_64-pc-windows-gnu/release/${BINARY_NAME}.exe
- target/x86_64-pc-windows-gnu/release/game_core.exe
only:
- trunk
......@@ -48,7 +48,7 @@ build-linux:
artifacts:
expire_in: 1 day
paths:
- target/x86_64-unknown-linux-gnu/release/${BINARY_NAME}
- target/x86_64-unknown-linux-gnu/release/game_core
only:
- trunk
......@@ -69,11 +69,11 @@ build-arm64:
- .cargo/bin/
- target/
script:
- cargo build --release -p ${BINARY_FOLDER} --target aarch64-unknown-linux-gnu
- cargo build --release -p ${BINARY_FOLDER} --target aarch64-unknown-linux-gnu --features=cabinet
artifacts:
expire_in: 1 day
paths:
- target/aarch64-unknown-linux-gnu/release/${BINARY_NAME}
- target/aarch64-unknown-linux-gnu/release/game_core
only:
- trunk
......@@ -100,7 +100,7 @@ build-web:
artifacts:
expire_in: 1 day
paths:
- ${BINARY_FOLDER}/dist/
- game_core/dist/
only:
- trunk
......@@ -117,7 +117,7 @@ package-all:
- cd "${CI_PROJECT_DIR}/dist" && zip -r "linux.x86.zip" "./${BINARY_NAME}" ./assets
- cd "${CI_PROJECT_DIR}/dist" && zip -r "linux.arm64.zip" "./${BINARY_NAME}.arm64" ./assets
- cd "${CI_PROJECT_DIR}/${BINARY_FOLDER}/dist" && zip -r "web.zip" ./*
- cd "${CI_PROJECT_DIR}" && mv "${CI_PROJECT_DIR}/advent/dist/web.zip" "${CI_PROJECT_DIR}/dist/web.zip"
- cd "${CI_PROJECT_DIR}" && mv "${CI_PROJECT_DIR}/game_core/dist/web.zip" "${CI_PROJECT_DIR}/dist/web.zip"
dependencies:
- build-windows
- build-linux
......
......@@ -17,6 +17,9 @@ iyes_loopless = "0.7"
musicbox = { git = "https://lab.lcr.gr/microhacks/micro-bevy-musicbox.git", rev = "5ab4120a983e54ef0786ddca43b92a70605efd49"}
remote_events = { git = "https://lab.lcr.gr/microhacks/micro-bevy-remote-events.git", rev = "be0c6b43a73e4c5e7ece20797e3d6f59340147b4"}
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3.58", features = ["Window"] }
[dependencies.bevy]
version = "0.8"
default-features = false
......
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