-
Notifications
You must be signed in to change notification settings - Fork 1.5k
52 lines (47 loc) · 1.18 KB
/
authentication.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
42
43
44
45
46
47
48
49
50
51
52
name: Authentication
on:
push:
branches: [ main ]
paths:
- '.github/workflows/authentication.yml'
- 'authentication/**'
- 'scripts/*'
- 'scripts/authentication.sh'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/authentication.yml'
- 'authentication/**'
- 'scripts/*'
- 'scripts/authentication.sh'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
env:
SAMPLE: Authentication
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
jobs:
cocoapods:
name: spm
runs-on: macOS-15
env:
OS: iOS
SETUP: authentication
SPM: true
LEGACY: false
DIR: authentication
DEVICE: iPhone 16
TEST: false
SCHEME: AuthenticationExample
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
gem install xcpretty
cd $SETUP
../scripts/install_prereqs/${SETUP}.sh
- name: Build and Test SwiftUI (${OS})
run: ./scripts/test.sh