From cc213b4afb4c0a02c51785a21b2da25182154dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D1=82=D1=91=D0=BC=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20=D0=92=D0=BB?= =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Wed, 18 Feb 2026 16:34:22 +0300 Subject: [PATCH 1/3] Update CI configuration for modern GitHub Actions runners macos-13 runner is no longer supported, migrating to macos-15 with Xcode 16.4 (default), ARM simulators, and updated action versions. Co-authored-by: Cursor --- .github/workflows/deploy_docc.yml | 10 +++++----- .github/workflows/main.yml | 10 +++------- Makefile | 13 ++++--------- 3 files changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/deploy_docc.yml b/.github/workflows/deploy_docc.yml index 24b5f9f..ba5edcb 100644 --- a/.github/workflows/deploy_docc.yml +++ b/.github/workflows/deploy_docc.yml @@ -20,11 +20,11 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: macos-12 + runs-on: macos-15 steps: - - name: Checkout 🛎️ - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v4 - name: Build DocC run: | @@ -38,10 +38,10 @@ jobs: --output-path docs; - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: 'docs' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3fdf68..06a8bb7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,5 @@ name: build -# Controls when the action will run. on: push: branches: @@ -13,15 +12,12 @@ on: jobs: build: name: Build and Test project - runs-on: macos-13 + runs-on: macos-15 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Init run: | make init - - name: Force xcode 14.3.1 - run: | - sudo xcode-select -switch /Applications/Xcode_14.3.1.app - name: Build run: | make build @@ -33,4 +29,4 @@ jobs: make test - name: Example Build run: | - make example_build \ No newline at end of file + make example_build diff --git a/Makefile b/Makefile index 530d224..f127b21 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,17 @@ init: - # Install bundler if not installed - if ! gem spec bundler > /dev/null 2>&1; then\ - echo "bundler gem is not installed!";\ - -sudo gem install bundler -v "1.17.3";\ - fi - -bundle config set --local path '.bundle' - -bundle update + bundle config set --local path '.bundle' + bundle install build: xcodebuild clean build -scheme DebugScreen -sdk iphonesimulator | bundle exec xcpretty -c spm_build: swift package clean - swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios15.5-simulator" -Xswiftc "-lswiftUIKit" + swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "arm64-apple-ios18.5-simulator" test: - xcodebuild test -scheme DebugScreen -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.5' | bundle exec xcpretty -c + xcodebuild test -scheme DebugScreen -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' | bundle exec xcpretty -c example_build: xcodebuild clean build -scheme DebugScreenExample -sdk iphonesimulator | bundle exec xcpretty -c From a3b77a73ed1b2a0b410999b15f53c1b582c508d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D1=82=D1=91=D0=BC=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20=D0=92=D0=BB?= =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Wed, 18 Feb 2026 17:34:55 +0300 Subject: [PATCH 2/3] Add -Xswiftc "-lswiftUIKit" parameter in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f127b21..8401937 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ build: spm_build: swift package clean - swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "arm64-apple-ios18.5-simulator" + swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "arm64-apple-ios18.5-simulator" -Xswiftc "-lswiftUIKit" test: xcodebuild test -scheme DebugScreen -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' | bundle exec xcpretty -c From 044fd9cbcabfcc3f2f77118b53a0ace5f93c76d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D1=82=D1=91=D0=BC=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20=D0=92=D0=BB?= =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Wed, 18 Feb 2026 17:54:28 +0300 Subject: [PATCH 3/3] Change Makefile --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8401937..926845d 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,15 @@ build: spm_build: swift package clean - swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "arm64-apple-ios18.5-simulator" -Xswiftc "-lswiftUIKit" + swift build \ + -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" \ + -Xswiftc "-target" -Xswiftc "arm64-apple-ios`xcrun --sdk iphonesimulator --show-sdk-version`-simulator" \ + -Xcc "-isysroot" -Xcc "`xcrun --sdk iphonesimulator --show-sdk-path`" \ + -Xcc "-target" -Xcc "arm64-apple-ios`xcrun --sdk iphonesimulator --show-sdk-version`-simulator" \ + -Xswiftc "-lswiftUIKit" test: - xcodebuild test -scheme DebugScreen -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' | bundle exec xcpretty -c + xcodebuild test -scheme DebugScreen -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' | bundle exec xcpretty -c example_build: xcodebuild clean build -scheme DebugScreenExample -sdk iphonesimulator | bundle exec xcpretty -c