Skip to content

Commit 61d9fbe

Browse files
moving manual build steps to under the analyze with codeql steps.
1 parent 4d67a2b commit 61d9fbe

File tree

1 file changed

+39
-24
lines changed

1 file changed

+39
-24
lines changed

.github/workflows/codeql.yml

Lines changed: 39 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
matrix:
164164
include:
165165
- language: swift
166-
build-mode: autobuild
166+
build-mode: manual
167167

168168
steps:
169169
- name: Checkout react-native-sdk
@@ -221,22 +221,22 @@ jobs:
221221
env:
222222
NO_FLIPPER: 1
223223

224-
- name: Build example for iOS
225-
run: |
226-
cd example/ios
227-
xcodebuild -list
228-
229-
xcodebuild clean build \
230-
-project ReactNativeSdkExample.xcodeproj \
231-
-scheme ReactNativeSdkExample \
232-
-sdk iphoneos \
233-
CODE_SIGN_IDENTITY="" \
234-
CODE_SIGNING_REQUIRED=NO \
235-
CODE_SIGNING_ALLOWED=NO \
236-
BUILD_LIBRARY_FOR_DISTRIBUTION=NO \
237-
APPLICATION_EXTENSION_API_ONLY=YES \
238-
IPHONEOS_DEVELOPMENT_TARGET=13.0
239-
continue-on-error: true
224+
# - name: Build example for iOS
225+
# run: |
226+
# cd example/ios
227+
# xcodebuild -list
228+
#
229+
# xcodebuild clean build \
230+
# -project ReactNativeSdkExample.xcodeproj \
231+
# -scheme ReactNativeSdkExample \
232+
# -sdk iphoneos \
233+
# CODE_SIGN_IDENTITY="" \
234+
# CODE_SIGNING_REQUIRED=NO \
235+
# CODE_SIGNING_ALLOWED=NO \
236+
# BUILD_LIBRARY_FOR_DISTRIBUTION=NO \
237+
# APPLICATION_EXTENSION_API_ONLY=YES \
238+
# IPHONEOS_DEVELOPMENT_TARGET=13.0
239+
# continue-on-error: true
240240

241241
# ARCHS=arm64
242242

@@ -264,13 +264,28 @@ jobs:
264264

265265
- if: matrix.build-mode == 'manual'
266266
shell: bash
267-
run: |
268-
echo 'If you are using a "manual" build mode for one or more of the' \
269-
'languages you are analyzing, replace this with the commands to build' \
270-
'your code, for example:'
271-
echo ' make bootstrap'
272-
echo ' make release'
273-
exit 1
267+
cd example/ios
268+
xcodebuild -list
269+
270+
xcodebuild clean build \
271+
-project ReactNativeSdkExample.xcodeproj \
272+
-scheme ReactNativeSdkExample \
273+
-sdk iphoneos \
274+
CODE_SIGN_IDENTITY="" \
275+
CODE_SIGNING_REQUIRED=NO \
276+
CODE_SIGNING_ALLOWED=NO \
277+
BUILD_LIBRARY_FOR_DISTRIBUTION=NO \
278+
APPLICATION_EXTENSION_API_ONLY=YES \
279+
IPHONEOS_DEVELOPMENT_TARGET=13.0
280+
continue-on-error: true
281+
282+
# run: |
283+
# echo 'If you are using a "manual" build mode for one or more of the' \
284+
# 'languages you are analyzing, replace this with the commands to build' \
285+
# 'your code, for example:'
286+
# echo ' make bootstrap'
287+
# echo ' make release'
288+
# exit 1
274289
# yarn add @iterable/react-native-sdk
275290
# yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
276291
# echo "${{ env.TURBO_CACHE_DIR }}"

0 commit comments

Comments
 (0)