diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d210fa..1d6d090 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,18 @@ jobs: - os: macos-latest name: MacOS64-Clang cmake_options: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ + - os: ubuntu-latest + name: Emscripten + cmake_options: -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake - steps: + steps: + - name: 'Setup Emscripten' + if: matrix.name == 'Emscripten' + uses: mymindstorm/setup-emsdk@v14 + with: + version: 3.1.56 + no-cache: true + - name: 'Checkout' uses: actions/checkout@v3