Skip to content

Commit e9f9d92

Browse files
committed
Revert "workflow consolidation"
This reverts commit 0150020.
1 parent 0150020 commit e9f9d92

File tree

2 files changed

+62
-44
lines changed

2 files changed

+62
-44
lines changed

.github/workflows/database.yml

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,44 +30,52 @@ env:
3030
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3131

3232
jobs:
33+
spm-buildonly:
34+
name: spm (non-SwiftUI)
35+
runs-on: macOS-15
36+
env:
37+
OS: iOS
38+
SPM: true
39+
LEGACY: false
40+
DIR: database
41+
DEVICE: iPhone 16
42+
TEST: false
43+
SCHEME: DatabaseExampleSwift
44+
steps:
45+
- name: Checkout
46+
uses: actions/checkout@master
47+
- name: Setup
48+
run: |
49+
gem install xcpretty
50+
cd database
51+
../scripts/install_prereqs/database.sh
52+
- name: Build Swift
53+
run: ./scripts/test.sh
54+
3355
spm:
34-
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.name }})
56+
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
3557
runs-on: macOS-15
3658
strategy:
3759
matrix:
3860
xcode: ["16.4"]
61+
os: [iOS, tvOS, macOS]
3962
include:
40-
- name: "non-SwiftUI"
41-
os: iOS
42-
device: "iPhone 16"
43-
test: false
44-
dir: "database"
45-
scheme: "DatabaseExampleSwift"
46-
legacy: false
47-
- name: "iOS"
48-
os: iOS
49-
device: "iPhone 16"
63+
- os: iOS
64+
device: iPhone 16
5065
test: false
51-
dir: "database/DatabaseExampleSwiftUI/DatabaseExample"
52-
- name: "tvOS"
53-
os: tvOS
54-
device: "Apple TV 4K (3rd generation) (at 1080p)"
66+
- os: tvOS
67+
device: Apple TV 4K (3rd generation) (at 1080p)
5568
test: true
56-
dir: "database/DatabaseExampleSwiftUI/DatabaseExample"
57-
- name: "macOS"
58-
os: macOS
59-
device: "localhost"
69+
- os: macOS
70+
device: localhost
6071
test: false # flaky macOS UITest: UITests.testStaticSignUpView() sometimes fails
61-
dir: "database/DatabaseExampleSwiftUI/DatabaseExample"
6272
env:
6373
SETUP: database
6474
SPM: true
65-
DIR: ${{ matrix.dir }}
75+
DIR: database/DatabaseExampleSwiftUI/DatabaseExample
6676
OS: ${{ matrix.os }}
6777
DEVICE: ${{ matrix.device }}
6878
TEST: ${{ matrix.test }}
69-
SCHEME: ${{ matrix.scheme }}
70-
LEGACY: ${{ matrix.legacy }}
7179
steps:
7280
- name: Checkout
7381
uses: actions/checkout@master
@@ -76,5 +84,5 @@ jobs:
7684
gem install xcpretty
7785
cd $SETUP
7886
../scripts/install_prereqs/${SETUP}.sh
79-
- name: Build and Test
87+
- name: Build and Test SwiftUI (${{ matrix.os }})
8088
run: ./scripts/test.sh

.github/workflows/performance.yml

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,39 +34,49 @@ env:
3434
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3535

3636
jobs:
37+
spm-buildonly:
38+
name: spm
39+
runs-on: macOS-15
40+
env:
41+
SPM: true
42+
LEGACY: false
43+
OS: iOS
44+
DEVICE: iPhone 16
45+
TEST: true
46+
DIR: performance
47+
SCHEME: PerformanceExampleSwift
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@master
51+
- name: Setup
52+
run: |
53+
cd performance
54+
gem install xcpretty
55+
../scripts/install_prereqs/performance.sh
56+
- name: Build Swift
57+
run: ./scripts/test.sh
58+
3759
spm:
38-
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.name }})
60+
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
3961
runs-on: macOS-15
4062
strategy:
4163
matrix:
4264
xcode: ["16.4"]
65+
os: [iOS, tvOS]
4366
include:
44-
- name: "non-SwiftUI"
45-
os: iOS
46-
device: "iPhone 16"
47-
test: true
48-
dir: "performance"
49-
scheme: "PerformanceExampleSwift"
50-
legacy: false
51-
- name: "iOS"
52-
os: iOS
53-
device: "iPhone 16"
67+
- os: iOS
68+
device: iPhone 16
5469
test: false
55-
dir: "performance/SwiftUIPerformanceQuickstart/PerformanceExample"
56-
- name: "tvOS"
57-
os: tvOS
58-
device: "Apple TV 4K (3rd generation) (at 1080p)"
70+
- os: tvOS
71+
device: Apple TV 4K (3rd generation) (at 1080p)
5972
test: false
60-
dir: "performance/SwiftUIPerformanceQuickstart/PerformanceExample"
6173
env:
6274
SETUP: performance
6375
SPM: true
64-
DIR: ${{ matrix.dir }}
76+
DIR: performance/SwiftUIPerformanceQuickstart/PerformanceExample
6577
OS: ${{ matrix.os }}
6678
DEVICE: ${{ matrix.device }}
6779
TEST: ${{ matrix.test }}
68-
SCHEME: ${{ matrix.scheme }}
69-
LEGACY: ${{ matrix.legacy }}
7080
steps:
7181
- name: Checkout
7282
uses: actions/checkout@master
@@ -75,5 +85,5 @@ jobs:
7585
gem install xcpretty
7686
cd $SETUP
7787
../scripts/install_prereqs/${SETUP}.sh
78-
- name: Build and Test
88+
- name: Build and Test SwiftUI (${{ matrix.os }})
7989
run: ./scripts/test.sh

0 commit comments

Comments
 (0)