Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake.yml Install Vulkan SDK #15

Merged
merged 2 commits into from
Sep 4, 2024
Merged
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
10 changes: 9 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,22 @@ jobs:
- name: Add Repository to find newer versions of gcc
run: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test

- name: Add LunarG mirror
run: |
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list

- name: Update Repos
run: sudo apt-get update

- name: Install Vulkan SDK
run: sudo apt-get install vulkan-sdk

- name: Install gcc-${{ matrix.gccversion }}
run: sudo apt-get install gcc-${{ matrix.gccversion }} g++-${{ matrix.gccversion }}

- name: Configure CMake with GCC-${{ matrix.gccversion }}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=g++-${{ matrix.gccversion }}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=g++-${{ matrix.gccversion }} -DGLFW_BUILD_WAYLAND:BOOL=OFF
env:
CC: gcc-${{ matrix.gccversion }}
CXX: g++-${{ matrix.gccversion }}
Expand Down
Loading