Run tests/glfwinfo and examples/offscreen after Cocoa static build - they should work headless

This commit is contained in:
Hin-Tak Leung 2024-06-04 02:57:04 +01:00
parent ba3ec0ff31
commit 858436dc77

View File

@ -68,6 +68,8 @@ jobs:
run: cmake -B build-cocoa-static run: cmake -B build-cocoa-static
- name: Build Cocoa static library - name: Build Cocoa static library
run: cmake --build build-cocoa-static --parallel run: cmake --build build-cocoa-static --parallel
- run: ./build-cocoa-static/tests/glfwinfo
- run: ./build-cocoa-static/examples/offscreen
- name: Configure Cocoa shared library - name: Configure Cocoa shared library
run: cmake -B build-cocoa-shared -D BUILD_SHARED_LIBS=ON run: cmake -B build-cocoa-shared -D BUILD_SHARED_LIBS=ON