Skip to content

Commit ebf54a6

Browse files
committed
gh workflow files
1 parent b50cc43 commit ebf54a6

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

.github/workflows/android.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Android CI
2+
3+
on: pull_request
4+
5+
jobs:
6+
build:
7+
8+
runs-on: macos-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: set up JDK 21
13+
uses: actions/setup-java@v4
14+
with:
15+
distribution: 'zulu'
16+
java-version: 21
17+
- name: Build android app
18+
run: ./gradlew assembleDebug
19+
- name: Run Unit Tests
20+
run: ./gradlew allTests
21+

.github/workflows/ios.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: iOS CI
2+
3+
on: pull_request
4+
5+
# Cancel any current or previous job from the same PR
6+
concurrency:
7+
group: ios-${{ github.head_ref }}
8+
cancel-in-progress: true
9+
10+
11+
jobs:
12+
build:
13+
runs-on: macos-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-java@v4
17+
with:
18+
distribution: 'zulu'
19+
java-version: 21
20+
21+
- name: Set Xcode Version 16.4
22+
shell: bash
23+
run: |
24+
xcodes select 16.4
25+
26+
- name: Build iOS app
27+
run: xcodebuild -allowProvisioningUpdates -allowProvisioningUpdates -workspace iosApp/iosApp.xcodeproj/project.xcworkspace -configuration Debug -scheme iosApp -sdk iphoneos -destination name='iPhone 16'
28+
29+
30+

0 commit comments

Comments
 (0)