From 95010b084672bdbec02797d035d5ebd4074cbe19 Mon Sep 17 00:00:00 2001 From: Susko3 Date: Sat, 30 Aug 2025 23:05:35 +0200 Subject: [PATCH] Add envvar CI_DONT_TARGET_ANDROID=1 to fix CI build without android workload --- .github/workflows/ci.yml | 4 ++++ SDL3-CS/SDL3-CS.csproj | 3 ++- SDL3_image-CS/SDL3_image-CS.csproj | 3 ++- SDL3_mixer-CS/SDL3_mixer-CS.csproj | 3 ++- SDL3_ttf-CS/SDL3_ttf-CS.csproj | 3 ++- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e52c0a..9a4b7d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: name: Build only (Desktop) runs-on: ubuntu-latest timeout-minutes: 60 + env: + CI_DONT_TARGET_ANDROID: 1 steps: - name: Checkout uses: actions/checkout@v4 @@ -54,6 +56,8 @@ jobs: name: Build only (iOS) runs-on: macos-15 timeout-minutes: 60 + env: + CI_DONT_TARGET_ANDROID: 1 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/SDL3-CS/SDL3-CS.csproj b/SDL3-CS/SDL3-CS.csproj index 170dabf..7d46bf5 100644 --- a/SDL3-CS/SDL3-CS.csproj +++ b/SDL3-CS/SDL3-CS.csproj @@ -2,7 +2,8 @@ SDL - net8.0;net8.0-android + net8.0;net8.0-android + net8.0 21 enable true diff --git a/SDL3_image-CS/SDL3_image-CS.csproj b/SDL3_image-CS/SDL3_image-CS.csproj index 3bbbe3c..b868fd5 100644 --- a/SDL3_image-CS/SDL3_image-CS.csproj +++ b/SDL3_image-CS/SDL3_image-CS.csproj @@ -1,7 +1,8 @@  - net8.0;net8.0-android + net8.0;net8.0-android + net8.0 21 SDL enable diff --git a/SDL3_mixer-CS/SDL3_mixer-CS.csproj b/SDL3_mixer-CS/SDL3_mixer-CS.csproj index 881e7da..ac24899 100644 --- a/SDL3_mixer-CS/SDL3_mixer-CS.csproj +++ b/SDL3_mixer-CS/SDL3_mixer-CS.csproj @@ -1,7 +1,8 @@  - net8.0;net8.0-android + net8.0;net8.0-android + net8.0 21 SDL enable diff --git a/SDL3_ttf-CS/SDL3_ttf-CS.csproj b/SDL3_ttf-CS/SDL3_ttf-CS.csproj index 62d36dc..89c8680 100644 --- a/SDL3_ttf-CS/SDL3_ttf-CS.csproj +++ b/SDL3_ttf-CS/SDL3_ttf-CS.csproj @@ -1,7 +1,8 @@  - net8.0;net8.0-android + net8.0;net8.0-android + net8.0 21 SDL enable