generated from AdamMc331/AndroidAppTemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (34 loc) · 1.1 KB
/
ios_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: iOS Build
# This will cancel any in progress workflows for the same PR, if
# multiple pushes happen in quick succession.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on: pull_request
jobs:
ios-build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Generate local.properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: echo $LOCAL_PROPERTIES > ./local.properties
- name: Run tests
run: ./gradlew :shared:app-legacy:iosX64Test
- name: Build
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: iosApp/PocketLeagueIOS.xcodeproj
scheme: PocketLeagueIOS
destination: name=iPhone 8
sdk: iphoneos
configuration: Debug
action: build
use-xcpretty: false
build-settings: CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO