added ci for project template for wasm and android

This commit is contained in:
Dmitry Stepanov
2024-03-31 17:52:48 +03:00
parent 41a1f1ec2c
commit 19169c450a
+18 -1
View File
@@ -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