mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-23 17:30:39 +02:00
n3ds: fix exported libraries of n3ds
This commit is contained in:
committed by
Anonymous Maarten
parent
b47b6e02fd
commit
f51f7fbb94
21
.github/workflows/n3ds.yml
vendored
21
.github/workflows/n3ds.yml
vendored
@@ -38,5 +38,22 @@ jobs:
|
||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build cmake_config_build --verbose
|
||||
# Not running test_pkgconfig.sh and test_sdlconfig.sh
|
||||
# as invoking the compiler manually is not supported
|
||||
- name: Extract CC/CXX/CFLAGS/CXXFLAGS from CMake toolchain
|
||||
run: |
|
||||
cmake -S .github/cmake -B /tmp/cmake_extract \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DVAR_PATH=/tmp/n3ds_env.txt
|
||||
cat /tmp/n3ds_env.txt >> $GITHUB_ENV
|
||||
- name: Verify sdl2-config
|
||||
run: |
|
||||
export EXTRA_CFLAGS="$CFLAGS"
|
||||
export EXTRA_LDFLAGS="$LDFLAGS"
|
||||
export PATH=${{ env.SDL2_DIR }}/bin:$PATH
|
||||
cmake/test/test_sdlconfig.sh
|
||||
- name: Verify sdl2.pc
|
||||
run: |
|
||||
export EXTRA_CFLAGS="$CFLAGS"
|
||||
export EXTRA_LDFLAGS="$LDFLAGS"
|
||||
export PKG_CONFIG_PATH=${{ env.SDL2_DIR }}/lib/pkgconfig
|
||||
cmake/test/test_pkgconfig.sh
|
||||
|
||||
Reference in New Issue
Block a user