Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -64,7 +70,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
Expand Down
Loading