mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
added ci for project template for wasm and android
This commit is contained in:
@@ -144,4 +144,21 @@ jobs:
|
||||
fyrox-template init --name test_project --style=3d
|
||||
cd test_project
|
||||
fyrox-template upgrade --version=latest --local
|
||||
cargo build --package editor
|
||||
cargo build --package editor
|
||||
- name: Build Android
|
||||
env:
|
||||
# Suppress warnings, because project template contains a lot of unused method arguments.
|
||||
RUSTFLAGS: -Awarnings
|
||||
run: |
|
||||
rustup target add armv7-linux-androideabi
|
||||
cargo install cargo-apk
|
||||
cargo-apk apk build --package executor-android --target armv7-linux-androideabi
|
||||
- name: Build WASM
|
||||
env:
|
||||
# Suppress warnings, because project template contains a lot of unused method arguments.
|
||||
RUSTFLAGS: -Awarnings
|
||||
run: |
|
||||
rustup target add wasm32-unknown-unknown
|
||||
cargo install wasm-pack
|
||||
cd executor-wasm
|
||||
wasm-pack build --target=web
|
||||
Reference in New Issue
Block a user