From 627f4f9a53f1319bdbdddb5a7d225e186ae2d219 Mon Sep 17 00:00:00 2001 From: adam-ce <5292991+adam-ce@users.noreply.github.com> Date: Sun, 5 Jul 2026 01:29:17 +0200 Subject: [PATCH 1/3] Build WebGPU app in Windows CI --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 089e26a3..9b2f964f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -64,7 +64,7 @@ jobs: -DCMAKE_BUILD_TYPE=Debug -DALP_ENABLE_POSITIONING=false -DALP_ENABLE_ASSERTS=ON - -DALP_BUILD_WEBGPU_APP=OFF + -DALP_BUILD_WEBGPU_APP=ON -B ./build - name: Build From e38cab157a362176c50e2bcaaed264298797afb9 Mon Sep 17 00:00:00 2001 From: adam-ce <5292991+adam-ce@users.noreply.github.com> Date: Sun, 5 Jul 2026 02:01:29 +0200 Subject: [PATCH 2/3] Cache Dawn in CI --- .github/workflows/deploy.yml | 12 ++++++++++++ .github/workflows/linux.yml | 6 ++++++ .github/workflows/windows.yml | 6 ++++++ 3 files changed, 24 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2cb5c2b3..9226ffd4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -216,6 +216,18 @@ jobs: with: version: ${{ env.WEBASSEMBLY_VERSION }} + - name: Cache Dawn WebAssembly port package + uses: actions/cache@v6 + with: + path: extern/emdawnwebgpu_pkg + key: dawn-wasm-port-${{ hashFiles('webgpu/base/CMakeLists.txt', 'misc/scripts/fetch_dawn_port.py') }} + + - name: Cache Emscripten Dawn port build + uses: actions/cache@v6 + with: + path: ${{ env.EMSDK }}/upstream/emscripten/cache + key: ${{ matrix.config }}-emscripten-dawn-${{ runner.os }}-emcc-${{ env.WEBASSEMBLY_VERSION }}-${{ hashFiles('webgpu/base/CMakeLists.txt', 'misc/scripts/fetch_dawn_port.py') }} + - name: Install Qt native version (required for cross building) uses: jurplel/install-qt-action@v4 with: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5f82ba78..db1d3bf3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -41,6 +41,12 @@ jobs: - name: Load CI versions run: cat .github/ci-versions.env >> "$GITHUB_ENV" + - name: Cache native Dawn + uses: actions/cache@v6 + with: + path: extern/dawn + key: ${{ runner.os }}-dawn-native-debug-${{ hashFiles('webgpu/base/CMakeLists.txt', 'misc/scripts/fetch_dawn_native.py', 'misc/scripts/install_dawn.py') }} + - name: Install Linux Dependencies run: | sudo apt-get update diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9b2f964f..346bc1c7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -29,6 +29,12 @@ jobs: run: | Get-Content .github/ci-versions.env | Add-Content $env:GITHUB_ENV + - name: Cache native Dawn + uses: actions/cache@v6 + with: + path: extern/dawn + key: ${{ runner.os }}-dawn-native-debug-${{ hashFiles('webgpu/base/CMakeLists.txt', 'misc/scripts/fetch_dawn_native.py', 'misc/scripts/install_dawn.py') }} + - name: Make sure MSVC is found when Ninja generator is in use uses: ilammy/msvc-dev-cmd@v1 From ba54618e61e03a9366cc02b0f29249bd128f17f8 Mon Sep 17 00:00:00 2001 From: adam-ce <5292991+adam-ce@users.noreply.github.com> Date: Sun, 5 Jul 2026 02:33:12 +0200 Subject: [PATCH 3/3] Retry CI after Pages deployment failure