Fix Vulkan rendering, default to use of OpenGL on linux (due to buggy drivers) #176
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-18.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'cpp' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v1 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev g++ | |
- name: Build | |
run: | | |
cmake -B ./cmake_build -DCMAKE_BUILD_TYPE=Release \ | |
-G "Unix Makefiles" . | |
cmake --build ./cmake_build -j 5 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v1 |