Skip to content

Commit

Permalink
Use package manager glslc when available.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Feb 6, 2025
1 parent 09612c3 commit b04164a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,29 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Vulkan SDK
- name: Install Vulkan SDK (with glslang)
if: ${{ matrix.os == 'windows-latest' }}
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang, SPIRV-Tools
vulkan-use-cache: true

- name: Install Vulkan SDK (without glslang)
if: ${{ matrix.os != 'windows-latest' }}
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true

- name: Install build dependencies (macOS)
if: ${{ matrix.os == 'macos-latest' }}
run: brew install llvm ninja autoconf automake libtool nasm
run: brew install llvm ninja shaderc autoconf automake libtool nasm

- name: Install build dependencies (ubuntu-24.04)
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: sudo apt-get install ninja-build libc++-dev libc++abi-dev xorg-dev libtool libltdl-dev
run: sudo apt-get install ninja-build libc++-dev libc++abi-dev glslc xorg-dev libtool libltdl-dev

- name: Setup vcpkg (macOS)
if: ${{ matrix.os == 'macos-latest' }}
Expand Down

0 comments on commit b04164a

Please sign in to comment.