File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -118,14 +118,8 @@ jobs:
118
118
- if : matrix.build-mode == 'manual' && matrix.language == 'swift'
119
119
shell : bash
120
120
run : |
121
- # Build for macOS
122
- xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "XLKit-CI" -destination "generic/platform=macOS,name=Any Mac" | xcbeautify && exit ${PIPESTATUS[0]}
123
- # Build for iOS (if available simulators found)
124
- if xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "XLKit-CI" | grep -q "iOS Simulator"; then
125
- xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "XLKit-CI" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | xcbeautify && exit ${PIPESTATUS[0]}
126
- else
127
- echo "No iOS simulators found, skipping iOS build"
128
- fi
121
+ swift package resolve
122
+ swift build
129
123
130
124
- name : Perform CodeQL Analysis
131
125
uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments