Skip to content

Commit

Permalink
Merge pull request #15 from deccer/main
Browse files Browse the repository at this point in the history
cmake.yml Install Vulkan SDK
  • Loading branch information
JuanDiegoMontoya authored Sep 4, 2024
2 parents 14298c1 + 7336897 commit b0be7bf
Showing 1 changed file with 9 additions and 1 deletion.
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

0 comments on commit b0be7bf

Please sign in to comment.