Skip to content

Commit cac372f

Browse files
committed
test not setting up flutter for android and ios
1 parent f0ddbb7 commit cac372f

File tree

1 file changed

+3
-32
lines changed

1 file changed

+3
-32
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
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
@@ -45,11 +45,6 @@ jobs:
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:

0 commit comments

Comments
 (0)