diff --git a/.github/workflows/build-emscripten.yml b/.github/workflows/build-emscripten.yml index be4eb6d..d037854 100644 --- a/.github/workflows/build-emscripten.yml +++ b/.github/workflows/build-emscripten.yml @@ -11,20 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: mymindstorm/setup-emsdk@v7 - with: - # Make sure to set a version number! - version: 1.38.40 - # This is the name of the cache folder. - # The cache folder will be placed in the build directory, - # so make sure it doesn't conflict with anything! - actions-cache-folder: 'emsdk-cache' - + - uses: actions/checkout@v2 - + - name: Create Build Environment # Some projects don't allow in-source building, so create a separate build directory # We'll use this as our working directory for all subsequent commands - run: cmake -E make_directory ${{github.workspace}}/build + run: emcmake cmake -E make_directory ${{github.workspace}}/build - name: Configure CMake # Use a bash shell so we can use the same syntax for environment variable