Skip to content

Commit

Permalink
emscripten ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Nov 13, 2024
1 parent 5e95e0e commit f3d712f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ jobs:
cmake . -B build -DTHREEPP_BUILD_EXAMPLES=OFF -DTHREEPP_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE="Release"
cmake --build build
linux-emscripten:

runs-on: ${{ matrix.os }}
env:
CC: gcc-${{ matrix.compiler_version }}
Expand All @@ -180,8 +182,11 @@ jobs:
pkg-config
- uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.71
actions-cache-folder: 'emsdk-cache'

- name: Configure and build
run: |
cmake . -B build -DCMAKE_TOOLCHAIN_FILE=${{env.EM_CACHE_FOLDER}}/libexec/cmake/Modules/Platform/Emscripten.cmake -DTHREEPP_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE="Release"
cmake . -B build -DCMAKE_TOOLCHAIN_FILE=${{env.EMSDK}}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DTHREEPP_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE="Release"
cmake --build build

0 comments on commit f3d712f

Please sign in to comment.