mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-20 04:03:57 +00:00
Fixes for emscripten
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -161,6 +161,7 @@ jobs:
|
||||
- iOS arm64
|
||||
- Android x86_64
|
||||
- Android arm64-v8a
|
||||
- Emscripten
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
@@ -201,6 +202,9 @@ jobs:
|
||||
abi: arm64-v8a
|
||||
rust-target: aarch64-linux-android
|
||||
cmake-options: "-DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchain/android-ndk.cmake"
|
||||
- platform: Emscripten
|
||||
runner: ubuntu-24.04
|
||||
cmake-options: "-DMOMO_ENABLE_RUST_CODE=Off -DCMAKE_TOOLCHAIN_FILE=$(dirname $(which emcc))/cmake/Modules/Platform/Emscripten.cmake"
|
||||
steps:
|
||||
- name: Checkout Source
|
||||
uses: actions/checkout@v4
|
||||
@@ -214,6 +218,10 @@ jobs:
|
||||
if: "${{ matrix.rust-target }}"
|
||||
run: rustup target add ${{ matrix.rust-target }}
|
||||
|
||||
- name: Install Emscripten
|
||||
if: "${{ matrix.platform == 'Emscripten' }}"
|
||||
uses: mymindstorm/setup-emsdk@v14
|
||||
|
||||
- name: Install Clang
|
||||
if: "${{ matrix.platform == 'Linux x86_64 Clang' }}"
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user