Skip to content

Commit ca23bb7

Browse files
Update codeql.yml
1 parent cc9da9b commit ca23bb7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,8 @@ jobs:
118118
- if: matrix.build-mode == 'manual' && matrix.language == 'swift'
119119
shell: bash
120120
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
129123
130124
- name: Perform CodeQL Analysis
131125
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)