Skip to content

Commit

Permalink
Add Emscripten testing to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Oct 30, 2023
1 parent 77c7f20 commit ea347e6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ea347e6

Please sign in to comment.