diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e945ce0..f568dcc 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -8,10 +8,10 @@ jobs: with: path: DotnetRaylibWasmRepo - - name: Setup .NET7 + - name: Setup .NET8 uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.100' + dotnet-version: '8.0.200' - name: Install wasm-tools run: | @@ -27,7 +27,8 @@ jobs: - name: Setup emsdk uses: mymindstorm/setup-emsdk@v11 with: - version: 3.1.12 + # https://github.com/dotnet/runtime/blob/v8.0.2/src/mono/wasm/emscripten-version.txt + version: 3.1.34 actions-cache-folder: 'emsdk-cache' - name: Build raylib for Web @@ -49,4 +50,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: DotnetRaylibWasmRepo/DotnetRaylibWasm/bin/Release/net7.0/browser-wasm/AppBundle + publish_dir: DotnetRaylibWasmRepo/DotnetRaylibWasm/bin/Release/net8.0/browser-wasm/AppBundle diff --git a/DotnetRaylibWasm/DotnetRaylibWasm.csproj b/DotnetRaylibWasm/DotnetRaylibWasm.csproj index 60de820..1dbd68a 100644 --- a/DotnetRaylibWasm/DotnetRaylibWasm.csproj +++ b/DotnetRaylibWasm/DotnetRaylibWasm.csproj @@ -1,6 +1,6 @@ - net7.0 + net8.0 browser-wasm main.js Exe @@ -14,18 +14,19 @@ full true + 12 true - -sUSE_GLFW=3 -sASYNCIFY=1 -sVERBOSE=1 -Wbad-function-cast -Wcast-function-type -O2 -g3 -sVERBOSE=1 -sINITIAL_MEMORY=128MB -sMAXIMUM_MEMORY=2048MB -sALLOW_MEMORY_GROWTH=1 -sASYNCIFY_STACK_SIZE=10000000 + -sUSE_GLFW=3 -sVERBOSE=1 -Wbad-function-cast -Wcast-function-type -O2 -g3 -sVERBOSE=1 -sINITIAL_MEMORY=128MB -sMAXIMUM_MEMORY=2048MB -sALLOW_MEMORY_GROWTH=1 -sASYNCIFY_STACK_SIZE=10000000 - -s USE_GLFW=3 -sASYNCIFY=1 -O3 + -s USE_GLFW=3 -O3 diff --git a/DotnetRaylibWasm/index.html b/DotnetRaylibWasm/index.html index 4a947bb..2e35506 100644 --- a/DotnetRaylibWasm/index.html +++ b/DotnetRaylibWasm/index.html @@ -11,7 +11,7 @@

Dotnet + Raylib + Wasm prototype

โš ๏ธThe very first example you open will download around 30MB of resources for ALL examples, so it might take a while. The rest of the examples will load almost immediatelly.

-

Please report any errors here. You can find logs in the Console.

+

Please report any errors here. You can find logs in the Console.