-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (33 loc) · 1.15 KB
/
macos.yaml
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
name: Build and Test macOS
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: macos-13-large
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: 'Select Latest Xcode'
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: 'Set SSH key'
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: 'Carthage Cached Bootstrap'
uses: DevCycleHQ/carthage-bootstrap@xcframeworks2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
use-xcframeworks: true
- name: Fastlane macOS Tests
run: fastlane mac tests
env:
DEVELOPER_APP_ID: '${{ secrets.DEVELOPER_APP_ID }}'
MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}'
TEMP_KEYCHAIN_PASSWORD: '${{ secrets.TEMP_KEYCHAIN_PASSWORD }}'
TEMP_KEYCHAIN_USER: '${{ secrets.TEMP_KEYCHAIN_USER }}'
APPLE_KEY_ID: '${{ secrets.APPLE_KEY_ID }}'
APPLE_ISSUER_ID: '${{ secrets.APPLE_ISSUER_ID }}'
APPLE_KEY_CONTENT: '${{ secrets.APPLE_KEY_CONTENT }}'