File tree Expand file tree Collapse file tree 1 file changed +40
-15
lines changed
Expand file tree Collapse file tree 1 file changed +40
-15
lines changed Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: 2024 OPass
1+ # SPDX-FileCopyrightText: 2024-2025 OPass
22# SPDX-License-Identifier: GPL-3.0-only
33
44name : CI
5- on : [ push, pull_request ]
5+ on : [push, pull_request]
66
77jobs :
8- build :
8+ build-android :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout the code
12+ uses : actions/checkout@v4
13+
14+ - name : Setup JDK 21
15+ uses : actions/setup-java@v4
16+ with :
17+ distribution : ' corretto'
18+ java-version : 21
19+ cache : ' gradle'
20+
21+ - name : Build Android
22+ run : ./gradlew assembleRelease
23+
24+ build-ios :
925 runs-on : macos-latest
1026 steps :
11- - name : Checkout the code
12- uses : actions/checkout@v4
13-
14- - name : Setup JDK 21
15- uses : actions/setup-java@v4
16- with :
17- distribution : ' corretto'
18- java-version : 21
19- cache : ' gradle'
20-
21- - name : Build Android
22- run : ./gradlew assembleRelease
27+ - name : Checkout
28+ uses : actions/checkout@v4
29+
30+ - name : Setup JDK 21
31+ uses : actions/setup-java@v4
32+ with :
33+ distribution : corretto
34+ java-version : 21
35+ cache : gradle
36+
37+ - name : Select Xcode 16.4
38+ run : sudo xcode-select --switch /Applications/Xcode_16.4.app
39+
40+ - name : Build iOS
41+ run : |
42+ xcodebuild \
43+ -project iosApp/OPass.xcodeproj \
44+ -scheme OPass \
45+ -configuration Debug \
46+ -destination "platform=iOS Simulator,name=iPhone 16 Pro Max,OS=latest" \
47+ build
You can’t perform that action at this time.
0 commit comments