diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41dc3d6..8d1706e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,6 +83,33 @@ jobs: cd bin/Linux ./AutomatedTest null + linux-sdl-gl3: + runs-on: ubuntu-latest + container: + image: ubuntu:jammy + env: { LANG: "C.UTF-8" } + steps: + - uses: actions/checkout@v3 + - name: Install deps + run: | + apt-get update + apt-get install g++ cmake libsdl2-dev libpng-dev libjpeg-dev zlib1g-dev -qyy + + - name: Build + run: | + cmake . -DBUILD_EXAMPLES=1 -DUSE_SDL2=ON -DENABLE_OPENGL3=ON + make -j2 + + - name: Test (headless) + run: | + cd bin/Linux + ./AutomatedTest null + + - name: Test (Xvfb) + run: | + cd bin/Linux + LIBGL_ALWAYS_SOFTWARE=true xvfb-run ./AutomatedTest opengl3 + win32: runs-on: ubuntu-20.04 steps: