mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 09:44:35 +00:00 
			
		
		
		
	release: test CMake config files of frameworks in xcframeworks in dmg releases
This commit is contained in:
		
							
								
								
									
										50
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										50
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@@ -208,6 +208,18 @@ jobs:
 | 
				
			|||||||
              -Werror=dev                                                   \
 | 
					              -Werror=dev                                                   \
 | 
				
			||||||
              -B build_ios
 | 
					              -B build_ios
 | 
				
			||||||
          cmake --build build_ios --config Release --verbose
 | 
					          cmake --build build_ios --config Release --verbose
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          cmake -S "${{ steps.src.outputs.path }}/cmake/test"                                          \
 | 
				
			||||||
 | 
					              -DTEST_FULL=FALSE                                                                        \
 | 
				
			||||||
 | 
					              -DTEST_STATIC=FALSE                                                                      \
 | 
				
			||||||
 | 
					              -DTEST_TEST=FALSE                                                                        \
 | 
				
			||||||
 | 
					              -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}/SDL3.xcframework/ios-arm64"  \
 | 
				
			||||||
 | 
					              -DCMAKE_SYSTEM_NAME=iOS                                                                  \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_ARCHITECTURES="arm64"                                                        \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0                                                       \
 | 
				
			||||||
 | 
					              -Werror=dev                                                                              \
 | 
				
			||||||
 | 
					              -B build_ios2
 | 
				
			||||||
 | 
					          cmake --build build_ios2 --config Release --verbose
 | 
				
			||||||
      - name: 'CMake (configure + build) tvOS'
 | 
					      - name: 'CMake (configure + build) tvOS'
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          cmake -S "${{ steps.src.outputs.path }}/cmake/test"               \
 | 
					          cmake -S "${{ steps.src.outputs.path }}/cmake/test"               \
 | 
				
			||||||
@@ -221,6 +233,18 @@ jobs:
 | 
				
			|||||||
              -Werror=dev                                                   \
 | 
					              -Werror=dev                                                   \
 | 
				
			||||||
              -B build_tvos
 | 
					              -B build_tvos
 | 
				
			||||||
          cmake --build build_tvos --config Release --verbose
 | 
					          cmake --build build_tvos --config Release --verbose
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          cmake -S "${{ steps.src.outputs.path }}/cmake/test"                                          \
 | 
				
			||||||
 | 
					              -DTEST_FULL=FALSE                                                                        \
 | 
				
			||||||
 | 
					              -DTEST_STATIC=FALSE                                                                      \
 | 
				
			||||||
 | 
					              -DTEST_TEST=FALSE                                                                        \
 | 
				
			||||||
 | 
					              -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}/SDL3.xcframework/tvos-arm64" \
 | 
				
			||||||
 | 
					              -DCMAKE_SYSTEM_NAME=tvOS                                                                 \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_ARCHITECTURES="arm64"                                                        \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0                                                       \
 | 
				
			||||||
 | 
					              -Werror=dev                                                                              \
 | 
				
			||||||
 | 
					              -B build_tvos2
 | 
				
			||||||
 | 
					          cmake --build build_tvos2 --config Release --verbose
 | 
				
			||||||
      - name: 'CMake (configure + build) iOS simulator'
 | 
					      - name: 'CMake (configure + build) iOS simulator'
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          sysroot=$(xcodebuild -version -sdk iphonesimulator Path)
 | 
					          sysroot=$(xcodebuild -version -sdk iphonesimulator Path)
 | 
				
			||||||
@@ -237,6 +261,19 @@ jobs:
 | 
				
			|||||||
              -Werror=dev                                                   \
 | 
					              -Werror=dev                                                   \
 | 
				
			||||||
              -B build_ios_simulator
 | 
					              -B build_ios_simulator
 | 
				
			||||||
          cmake --build build_ios_simulator --config Release --verbose
 | 
					          cmake --build build_ios_simulator --config Release --verbose
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          cmake -S "${{ steps.src.outputs.path }}/cmake/test"                                                          \
 | 
				
			||||||
 | 
					              -DTEST_FULL=FALSE                                                                                        \
 | 
				
			||||||
 | 
					              -DTEST_STATIC=FALSE                                                                                      \
 | 
				
			||||||
 | 
					              -DTEST_TEST=FALSE                                                                                        \
 | 
				
			||||||
 | 
					              -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}/SDL3.xcframework/ios-arm64_x86_64-simulator" \
 | 
				
			||||||
 | 
					              -DCMAKE_SYSTEM_NAME=iOS                                                                                  \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"                                                                 \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_SYSROOT="${sysroot}"                                                                         \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0                                                                       \
 | 
				
			||||||
 | 
					              -Werror=dev                                                                                              \
 | 
				
			||||||
 | 
					              -B build_ios_simulator2
 | 
				
			||||||
 | 
					          cmake --build build_ios_simulator2 --config Release --verbose
 | 
				
			||||||
      - name: 'CMake (configure + build) tvOS simulator'
 | 
					      - name: 'CMake (configure + build) tvOS simulator'
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          sysroot=$(xcodebuild -version -sdk appletvsimulator Path)
 | 
					          sysroot=$(xcodebuild -version -sdk appletvsimulator Path)
 | 
				
			||||||
@@ -254,6 +291,19 @@ jobs:
 | 
				
			|||||||
              -B build_tvos_simulator
 | 
					              -B build_tvos_simulator
 | 
				
			||||||
          cmake --build build_tvos_simulator --config Release --verbose
 | 
					          cmake --build build_tvos_simulator --config Release --verbose
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          cmake -S "${{ steps.src.outputs.path }}/cmake/test"                                                           \
 | 
				
			||||||
 | 
					              -DTEST_FULL=FALSE                                                                                         \
 | 
				
			||||||
 | 
					              -DTEST_STATIC=FALSE                                                                                       \
 | 
				
			||||||
 | 
					              -DTEST_TEST=FALSE                                                                                         \
 | 
				
			||||||
 | 
					              -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}/SDL3.xcframework/tvos-arm64_x86_64-simulator" \
 | 
				
			||||||
 | 
					              -DCMAKE_SYSTEM_NAME=tvOS                                                                                  \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"                                                                  \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_SYSROOT="${sysroot}"                                                                          \
 | 
				
			||||||
 | 
					              -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0                                                                        \
 | 
				
			||||||
 | 
					              -Werror=dev                                                                                               \
 | 
				
			||||||
 | 
					              -B build_tvos_simulator2
 | 
				
			||||||
 | 
					          cmake --build build_tvos_simulator2 --config Release --verbose
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  msvc:
 | 
					  msvc:
 | 
				
			||||||
    needs: [src]
 | 
					    needs: [src]
 | 
				
			||||||
    runs-on: windows-2025
 | 
					    runs-on: windows-2025
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user