diff --git a/.github/actions/native-engine-wasm/action.yml b/.github/actions/native-engine-wasm/action.yml index ff9105b38f..01c6ac80bb 100644 --- a/.github/actions/native-engine-wasm/action.yml +++ b/.github/actions/native-engine-wasm/action.yml @@ -44,9 +44,10 @@ runs: sh "$GITHUB_WORKSPACE/scripts/retry-download.sh" "$GITHUB_WORKSPACE/.cache/emsdk/emsdk" install "$TN_EMSDK_VERSION" fi "$GITHUB_WORKSPACE/.cache/emsdk/emsdk" activate "$TN_EMSDK_VERSION" - # The web engine reads four pinned sources: stb (images), cgltf (glTF), libwebp and - # meshoptimizer (EXT/KHR_meshopt_compression in the same glTF loader). - for dependency in stb cgltf webp-source meshopt; do + # The web engine reads five pinned sources: stb (images), cgltf (glTF), libwebp, + # meshoptimizer (EXT/KHR_meshopt_compression in the same glTF loader) and Basis Universal + # (KHR_texture_basisu, PRD-861). + for dependency in stb cgltf webp-source meshopt basisu; do node scripts/download-deps.mjs --only "$dependency" done source "$GITHUB_WORKSPACE/.cache/emsdk/emsdk_env.sh" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b335d640ce..2cd4a3cd1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1571,8 +1571,9 @@ jobs: set -euo pipefail ccache --zero-stats # The core reads the web engine's pinned sources too (stb decodes SMAANode's tables), and - # the glTF loader decodes meshopt-compressed models with the pinned meshoptimizer. - for dependency in stb cgltf webp-source meshopt; do + # the glTF loader decodes meshopt-compressed models with the pinned meshoptimizer and + # KTX2 textures with the pinned Basis Universal transcoder (PRD-861). + for dependency in stb cgltf webp-source meshopt basisu; do node scripts/download-deps.mjs --only "$dependency" done cmake -S . -B build/native-engine -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTN_ENGINE_CORE_ONLY=ON