File tree Expand file tree Collapse file tree 1 file changed +3
-32
lines changed
Expand file tree Collapse file tree 1 file changed +3
-32
lines changed Original file line number Diff line number Diff line change 3636 build-mode : none
3737 os : ubuntu-latest
3838 - language : c-cpp
39- build-mode : manual
39+ build-mode : none
4040 os : macos-latest
4141 - language : java-kotlin
4242 build-mode : none
4545 - name : Checkout repository
4646 uses : actions/checkout@v6
4747
48- # Set up Flutter for native analysis
49- - name : Set up Flutter
50- if : matrix.language == 'java-kotlin' || matrix.language == 'c-cpp'
51- uses : ./.github/actions/setup-flutter
52-
5348 # Initializes the CodeQL tools for scanning.
5449 - name : Initialize CodeQL
5550 uses : github/codeql-action/init@v4
@@ -58,35 +53,11 @@ jobs:
5853 build-mode : ${{ matrix.build-mode }}
5954 config : |
6055 paths:
61- - 'android/**'
62- - 'ios/**'
56+ - 'android/src/main/java/ **'
57+ - 'ios/Classes/ **'
6358 paths-ignore:
6459 - 'example/**'
6560
66- - name : Build iOS library
67- if : matrix.language == 'c-cpp'
68- run : |
69- # Fetch dependencies for the example app which uses the plugin
70- cd example
71- flutter pub get
72-
73- # Install CocoaPods dependencies
74- cd ios
75- pod install
76-
77- # Build using xcodebuild directly to ensure CodeQL can trace the compilation
78- xcodebuild -workspace Runner.xcworkspace \
79- -scheme Runner \
80- -configuration Debug \
81- -sdk iphonesimulator \
82- -arch arm64 \
83- COMPILER_INDEX_STORE_ENABLE=NO \
84- CODE_SIGNING_ALLOWED=NO \
85- CODE_SIGNING_REQUIRED=NO \
86- CODE_SIGN_ENTITLEMENTS="" \
87- CODE_SIGNING_IDENTITY="" \
88- build
89-
9061 - name : Perform CodeQL Analysis
9162 uses : github/codeql-action/analyze@v4
9263 with :
You can’t perform that action at this time.
0 commit comments