From 702c59e3e72cd3cad936a82b5ec97452c98ebb11 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Wed, 15 Jan 2025 00:49:22 +0100 Subject: [PATCH] try fix SDL3-jar target missing --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 2 +- flake.lock | 8 ++++---- flake.nix | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index cf08d3c..9878535 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -108,7 +108,7 @@ jobs: - name: Configure CMake env: ANDROID_NDK_HOME: ${{steps.setup_ndk.outputs.ndk-path}} - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=${{matrix.platform.vcpkg_toolkit}} -DANDROID=1 -DANDROID_PLATFORM=23 -DANDROID_ABI=${{matrix.platform.ndk_abi}} -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${{steps.setup_ndk.outputs.ndk-path}}/build/cmake/android.toolchain.cmake -DSDLIMAGE_JPG_SHARED=OFF -DSDLIMAGE_PNG_SHARED=OFF -DTOMATO_MAIN_SO=ON -DTOMATO_TOX_AV=ON -DCMAKE_EXE_LINKER_FLAGS=-gz + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=${{matrix.platform.vcpkg_toolkit}} -DANDROID=1 -DANDROID_PLATFORM=23 -DANDROID_ABI=${{matrix.platform.ndk_abi}} -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${{steps.setup_ndk.outputs.ndk-path}}/build/cmake/android.toolchain.cmake -DSDL_ANDROID_JAR=ON -DSDLIMAGE_JPG_SHARED=OFF -DSDLIMAGE_PNG_SHARED=OFF -DTOMATO_MAIN_SO=ON -DTOMATO_TOX_AV=ON -DCMAKE_EXE_LINKER_FLAGS=-gz - name: Build (tomato) run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 -t tomato diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 264fd89..4542c8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: - name: Configure CMake env: ANDROID_NDK_HOME: ${{steps.setup_ndk.outputs.ndk-path}} - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=${{matrix.platform.vcpkg_toolkit}} -DANDROID=1 -DANDROID_PLATFORM=23 -DANDROID_ABI=${{matrix.platform.ndk_abi}} -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${{steps.setup_ndk.outputs.ndk-path}}/build/cmake/android.toolchain.cmake -DSDLIMAGE_JPG_SHARED=OFF -DSDLIMAGE_PNG_SHARED=OFF -DTOMATO_MAIN_SO=ON + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=${{matrix.platform.vcpkg_toolkit}} -DANDROID=1 -DANDROID_PLATFORM=23 -DANDROID_ABI=${{matrix.platform.ndk_abi}} -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${{steps.setup_ndk.outputs.ndk-path}}/build/cmake/android.toolchain.cmake -DSDL_ANDROID_JAR=ON -DSDLIMAGE_JPG_SHARED=OFF -DSDLIMAGE_PNG_SHARED=OFF -DTOMATO_MAIN_SO=ON - name: Build (tomato) run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 -t tomato diff --git a/flake.lock b/flake.lock index e032a20..bcdb93e 100644 --- a/flake.lock +++ b/flake.lock @@ -63,17 +63,17 @@ "sdl3": { "flake": false, "locked": { - "lastModified": 1736299979, - "narHash": "sha256-yfnW5y99EegifRavvZWmXPH2NFPKWoe90RmGDGk6PI4=", + "lastModified": 1736893232, + "narHash": "sha256-dJbuiGzVOOft7opVAWKC6LMgmF7PvYNjaCc0RsaRe1M=", "owner": "libsdl-org", "repo": "SDL", - "rev": "22422f7748d5128135995ed34c8f8012861c7332", + "rev": "191a6417d581b79cab5698dee84554ea64b5ac61", "type": "github" }, "original": { "owner": "libsdl-org", "repo": "SDL", - "rev": "22422f7748d5128135995ed34c8f8012861c7332", + "rev": "191a6417d581b79cab5698dee84554ea64b5ac61", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 725e90d..18ec076 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ flake = false; }; sdl3 = { - url = "github:libsdl-org/SDL/191a6417d581b79cab5698dee84554ea64b5ac61"; # keep in sync this cmake + url = "github:libsdl-org/SDL/191a6417d581b79cab5698dee84554ea64b5ac61"; # keep in sync with cmake flake = false; }; sdl3_image = {