cmake+ci: fix+test sdl2-config + sdl2.pc for all supported platforms
This commit is contained in:
committed by
Anonymous Maarten
parent
c61367c273
commit
78a3751659
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -189,6 +189,16 @@ jobs:
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }}
|
||||
cmake --build cmake_config_build --verbose
|
||||
- name: Verify sdl2-config
|
||||
run: |
|
||||
export CC=${{ matrix.platform.cc || 'gcc' }}
|
||||
export PATH=${{ env.SDL2_DIR }}/bin:$PATH
|
||||
cmake/test/test_sdlconfig.sh
|
||||
- name: Verify sdl2.pc
|
||||
run: |
|
||||
export CC=${{ matrix.platform.cc || 'gcc' }}
|
||||
export PKG_CONFIG_PATH=${{ env.SDL2_DIR }}/lib/pkgconfig
|
||||
cmake/test/test_pkgconfig.sh
|
||||
- name: Distcheck (Autotools)
|
||||
if: matrix.platform.autotools
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user