diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1429b3dfd..aad43508b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file