- Update get-mesa.sh to query dpkg --print-architecture to install the correct packages dynamically, enabling aarch64 support. - Update get-vulkan-sdk.sh to install via apt-get on Linux (libvulkan-dev, vulkan-validationlayers, glslang-tools, spirv-tools) instead of downloading LunarG's x86_64 tarball. - Add runner architecture to Mesa and Vulkan SDK GitHub Action cache keys to prevent collision. - Update test.sh and preamble.sh to detect aarch64 and point to the appropriate aarch64-linux-gnu libraries. - Fix typos and some renaming
17 lines
486 B
YAML
17 lines
486 B
YAML
name: 'Web Prerequisites'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: ./.github/actions/dep-versions
|
|
- name: Cache EMSDK
|
|
id: emsdk-cache
|
|
uses: actions/cache@v4 # Use a specific version
|
|
with:
|
|
path: emsdk
|
|
key: ${{ runner.os }}-${{ runner.arch }}-emsdk-${{ env.GITHUB_EMSDK_VERSION }}
|
|
- name: Install Web Prerequisites
|
|
shell: bash
|
|
run: |
|
|
bash ./build/common/get-emscripten.sh
|
|
echo "EMSDK=$PWD/emsdk" >> $GITHUB_ENV
|