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: ...@@ -26,7 +26,7 @@ build-windows:
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths:
- target/x86_64-pc-windows-gnu/release/${BINARY_NAME}.exe - target/x86_64-pc-windows-gnu/release/game_core.exe
only: only:
- trunk - trunk
...@@ -48,7 +48,7 @@ build-linux: ...@@ -48,7 +48,7 @@ build-linux:
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths:
- target/x86_64-unknown-linux-gnu/release/${BINARY_NAME} - target/x86_64-unknown-linux-gnu/release/game_core
only: only:
- trunk - trunk
...@@ -69,11 +69,11 @@ build-arm64: ...@@ -69,11 +69,11 @@ build-arm64:
- .cargo/bin/ - .cargo/bin/
- target/ - target/
script: 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: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths:
- target/aarch64-unknown-linux-gnu/release/${BINARY_NAME} - target/aarch64-unknown-linux-gnu/release/game_core
only: only:
- trunk - trunk
...@@ -100,7 +100,7 @@ build-web: ...@@ -100,7 +100,7 @@ build-web:
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths:
- ${BINARY_FOLDER}/dist/ - game_core/dist/
only: only:
- trunk - trunk
...@@ -117,7 +117,7 @@ package-all: ...@@ -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.x86.zip" "./${BINARY_NAME}" ./assets
- cd "${CI_PROJECT_DIR}/dist" && zip -r "linux.arm64.zip" "./${BINARY_NAME}.arm64" ./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}/${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: dependencies:
- build-windows - build-windows
- build-linux - build-linux
......
...@@ -17,6 +17,9 @@ iyes_loopless = "0.7" ...@@ -17,6 +17,9 @@ iyes_loopless = "0.7"
musicbox = { git = "https://lab.lcr.gr/microhacks/micro-bevy-musicbox.git", rev = "5ab4120a983e54ef0786ddca43b92a70605efd49"} 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"} 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] [dependencies.bevy]
version = "0.8" version = "0.8"
default-features = false 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