Skip to content

Upgrade glslang version (fixes https://github.com/KhronosGroup/glslan… #39

Upgrade glslang version (fixes https://github.com/KhronosGroup/glslan…

Upgrade glslang version (fixes https://github.com/KhronosGroup/glslan… #39

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build_gcc:
runs-on: ubuntu-latest
strategy:
matrix:
gccversion: [13]
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install libgl1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
- name: Add Repository to find newer versions of gcc
run: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- name: Update Repos
run: sudo apt-get update
- 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 }}
env:
CC: gcc-${{ matrix.gccversion }}
CXX: g++-${{ matrix.gccversion }}
- name: Build with gcc-${{ matrix.gccversion }}
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}