Skip to content

Commit 322b6ad

Browse files
author
GitLab CI
committed
ci: add fs-ios-bridge to release pipeline
Compile fs-ios-bridge ObjC binary on macOS runners and include in GitHub Release artifacts. continue-on-error since SimulatorKit framework may not be available in CI.
1 parent 235a221 commit 322b6ad

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,22 @@ jobs:
343343
- name: Compile native binary
344344
run: dart compile exe bin/flutter_skill.dart -o ${{ matrix.artifact }}
345345

346+
- name: Compile fs-ios-bridge (macOS only)
347+
if: startsWith(matrix.os, 'macos')
348+
run: |
349+
clang -framework Foundation -framework CoreGraphics \
350+
-F/Library/Developer/PrivateFrameworks -framework SimulatorKit \
351+
-rpath /Library/Developer/PrivateFrameworks \
352+
-o fs-ios-bridge native/ios-hid/fs_ios_bridge.m
353+
continue-on-error: true
354+
346355
- name: Upload artifact
347356
uses: actions/upload-artifact@v4
348357
with:
349358
name: ${{ matrix.artifact }}
350-
path: ${{ matrix.artifact }}
359+
path: |
360+
${{ matrix.artifact }}
361+
fs-ios-bridge
351362
352363
# Submit to Microsoft Winget official repository
353364
update-winget:
@@ -448,6 +459,8 @@ jobs:
448459
mkdir -p release-assets
449460
# Move all binaries to release-assets with proper names
450461
find artifacts -type f -name "flutter-skill-*" -exec mv {} release-assets/ \;
462+
# Move fs-ios-bridge if built (macOS only)
463+
find artifacts -type f -name "fs-ios-bridge" -exec mv {} release-assets/ \; 2>/dev/null || true
451464
# Move IntelliJ plugin zip if exists
452465
find artifacts -type f -name "*.zip" -exec mv {} release-assets/ \; 2>/dev/null || true
453466
ls -la release-assets/

0 commit comments

Comments
 (0)