Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Bevy 2D Template
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microhacks
Bevy 2D Template
Commits
1f02bcef
Verified
Commit
1f02bcef
authored
2 years ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Fix CI
parent
c8ca444f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
game_core/Cargo.toml
+3
-0
3 additions, 0 deletions
game_core/Cargo.toml
with
9 additions
and
6 deletions
.gitlab-ci.yml
+
6
−
6
View file @
1f02bcef
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
game_core/Cargo.toml
+
3
−
0
View file @
1f02bcef
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment