-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (45 loc) · 1.45 KB
/
iOS.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
36
37
38
39
40
41
42
43
44
45
46
47
48
# iOS.yaml
#
# This source file is part of the Workspace open source project.
# Diese Quelldatei ist Teil des quelloffenen Arbeitsbereich‐Projekt.
# https://github.com/SDGGiesbrecht/Workspace#workspace
#
# Copyright ©2021–2024 Jeremy David Giesbrecht and the Workspace project contributors.
# Urheberrecht ©2021–2024 Jeremy David Giesbrecht und die Mitwirkenden des Arbeitsbereich‐Projekts.
#
# Soli Deo gloria.
#
# Licensed under the Apache Licence, Version 2.0.
# See http://www.apache.org/licenses/LICENSE-2.0 for licence information.
name: iOS
on: [push, pull_request]
jobs:
iOS:
name: iOS
runs-on: macos-13
steps:
- name: Check out
uses: actions/checkout@v2
- name: Cache Workspace
uses: actions/cache@v2
with:
key: macOS‐${{ hashFiles('.github/workflows/**') }}
path: .build/SDG/Workspace
- name: Set Xcode up
shell: bash
run: |
set -x
sudo xcode-select -switch /Applications/Xcode_14.3.app
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
xcodebuild -version
swift --version
- name: Refresh
shell: bash
run: |
set -x
swift run workspace refresh •language '🇬🇧EN;🇺🇸EN;🇨🇦EN;🇩🇪DE'
- name: Validate
shell: bash
run: |
set -x
swift run workspace validate •job ios •language '🇬🇧EN;🇺🇸EN;🇨🇦EN;🇩🇪DE'