Skip to content

Commit 0360e25

Browse files
committed
Run CodeQL manual build on Intel macOS
1 parent 83f07af commit 0360e25

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ concurrency:
2323
jobs:
2424
analyze-swift:
2525
name: Analyze Swift
26-
runs-on: macos-15
27-
timeout-minutes: 45
26+
runs-on: macos-15-intel
27+
timeout-minutes: 60
2828

2929
steps:
3030
- name: Checkout repository
@@ -40,9 +40,25 @@ jobs:
4040
uses: github/codeql-action/init@v4
4141
with:
4242
languages: swift
43+
build-mode: manual
4344

44-
- name: Autobuild for CodeQL
45-
uses: github/codeql-action/autobuild@v4
45+
- name: Build Core-Monitor for CodeQL
46+
run: |
47+
set -euo pipefail
48+
xcodebuild \
49+
-project Core-Monitor.xcodeproj \
50+
-scheme Core-Monitor \
51+
-configuration Debug \
52+
-destination 'platform=macOS' \
53+
CODE_SIGNING_ALLOWED=NO \
54+
CODE_SIGNING_REQUIRED=NO \
55+
CODE_SIGN_IDENTITY= \
56+
SWIFT_ENABLE_EXPLICIT_MODULES=NO \
57+
CLANG_ENABLE_EXPLICIT_MODULES=NO \
58+
COMPILER_INDEX_STORE_ENABLE=NO \
59+
ONLY_ACTIVE_ARCH=YES \
60+
-showBuildTimingSummary \
61+
build
4662
4763
- name: Perform CodeQL Analysis
4864
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)