diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17079e73d..7a0308764 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,12 +22,18 @@ jobs: PLATFORM: ${{ matrix.config.platform }} DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: true + EMSCRIPTEN_VERSION: 1.38.45 steps: - uses: actions/checkout@v4 with: fetch-depth: '0' + - name: Setup emsdk + uses: mymindstorm/setup-emsdk@v11 + with: + version: ${{ env.EMSCRIPTEN_VERSION }} + - name: Install nbgv if: startsWith(matrix.config.os, 'macos') run: | @@ -55,10 +61,14 @@ jobs: shell: bash run: build/build.sh -platform $PLATFORM -build_only - - name: Test + - name: Test (.NET) shell: bash run: build/test.sh -platform $PLATFORM + - name: Test (Emscripten) + shell: bash + run: test/emscripten/test.sh + - name: Pack shell: bash run: build/build.sh prepack -platform $PLATFORM