Skip to content

Commit 397fd05

Browse files
committed
ci: validate core EGL context creation
1 parent f204275 commit 397fd05

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/continuous-integration-workflow.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
path: cmake_install_dir/
3333
if: always()
3434

35-
ubuntu-core-config:
36-
name: Ubuntu CI (GL core configuration)
35+
ubuntu-core-egl:
36+
name: Ubuntu CI (core EGL runtime)
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout repository
@@ -44,6 +44,13 @@ jobs:
4444
run: |
4545
sudo apt-get -y update
4646
sudo apt-get -y install freeglut3-dev
47-
cmake -S . -B cmake_build_dir -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCOIN_BUILD_LEGACY_GL_RENDERER=OFF -DCOIN_BUILD_TESTS=OFF -DCOIN_BUILD_EXAMPLES=OFF -DCOIN_BUILD_DOCUMENTATION=OFF
48-
- name: Build core GL glue
49-
run: cmake --build cmake_build_dir --target glue --config Release -- -j4
47+
cmake -S . -B cmake_build_dir -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCOIN_BUILD_LEGACY_GL_RENDERER=OFF -DCOIN_BUILD_TESTS=ON -DCOIN_BUILD_EXAMPLES=OFF -DCOIN_BUILD_DOCUMENTATION=OFF
48+
- name: Build EGL binding test
49+
run: cmake --build cmake_build_dir --target EGLBindingTest --config Release -- -j4
50+
- name: Run EGL binding test
51+
run: ctest -C Release -R '^EGLBindingTest$' --output-on-failure
52+
working-directory: cmake_build_dir
53+
env:
54+
COIN_EGL: 1
55+
EGL_PLATFORM: surfaceless
56+
COIN_EGL_CORE_PROFILE: 1

0 commit comments

Comments
 (0)