File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - ' **/*.mm'
1010 - ' **/*.m'
1111 - ' **/*.h'
12+ - ' **/*.py'
1213 - ' *.xcodeproj/**'
1314 - ' *.xcworkspace/**'
1415 - ' .github/workflows/codeql.yml'
2122 - ' **/*.mm'
2223 - ' **/*.m'
2324 - ' **/*.h'
25+ - ' **/*.py'
2426 - ' *.xcodeproj/**'
2527 - ' *.xcworkspace/**'
2628 - ' .github/workflows/codeql.yml'
@@ -42,11 +44,16 @@ jobs:
4244 strategy :
4345 fail-fast : false
4446 matrix :
45- language : [ 'swift', 'cpp' ]
47+ language : [ 'swift', 'cpp', 'python' ]
4648
4749 steps :
4850 - name : Checkout repository
49- uses : actions/checkout@v4
51+ uses : actions/checkout@v5
52+
53+ - name : Set up Python
54+ uses : actions/setup-python@v6
55+ with :
56+ python-version : ' 3.12'
5057
5158 - name : Initialize CodeQL
5259 uses : github/codeql-action/init@v4
5562 build-mode : manual
5663
5764 - name : Build project
65+ if : matrix.language == 'swift' || matrix.language == 'cpp'
5866 run : |
5967 xcodebuild -scheme McBopomofoInstaller -configuration Debug build ARCHS=arm64 ONLY_ACTIVE_ARCH=YES
6068
Original file line number Diff line number Diff line change 1010 - ' *.xcodeproj/**'
1111 - ' *.xcworkspace/**'
1212 - ' .github/workflows/continuous-integration-workflow-xcode-latest.yml'
13+ - ' !Source/Data/**'
1314 pull_request :
1415 paths :
1516 - ' **/*.swift'
2021 - ' *.xcodeproj/**'
2122 - ' *.xcworkspace/**'
2223 - ' .github/workflows/continuous-integration-workflow-xcode-latest.yml'
24+ - ' !Source/Data/**'
2325
2426jobs :
2527 build :
2830 # env:
2931 # DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
3032 steps :
31- - uses : actions/checkout@v4
33+ - uses : actions/checkout@v5
34+ - uses : actions/setup-python@v6
35+ with :
36+ python-version : ' 3.12'
3237 - uses : maxim-lobanov/setup-xcode@v1
3338 with :
3439 xcode-version : " ^16.1.0"
8893 run : bash .github/collect_swift_coverage.sh
8994 - name : Create commit comment
9095 if : github.event_name == 'push'
91- uses : peter-evans/commit-comment@v3
96+ uses : peter-evans/commit-comment@v4
9297 with :
93- body-path : ' codecov_comment.md'
98+ body-path : ' codecov_comment.md'
You can’t perform that action at this time.
0 commit comments