Skip to content

Commit ea6bf3a

Browse files
authored
Use GitHub buildcache #8052 (#9055)
1 parent 5bba524 commit ea6bf3a

35 files changed

+301
-4
lines changed

.github/workflows/abtesting.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
runs-on: macos-11
3636
steps:
3737
- uses: actions/checkout@v2
38+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
39+
with:
40+
cache_key: ${{ matrix.os }}
3841
- name: Initialize xcodebuild
3942
run: scripts/setup_spm_tests.sh
4043
- name: iOS Unit Tests
@@ -49,6 +52,9 @@ jobs:
4952
target: [tvOS, macOS, catalyst]
5053
steps:
5154
- uses: actions/checkout@v2
55+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
56+
with:
57+
cache_key: ${{ matrix.os }}
5258
- name: Initialize xcodebuild
5359
run: scripts/setup_spm_tests.sh
5460
- name: Unit Tests
@@ -61,6 +67,9 @@ jobs:
6167
runs-on: macos-11
6268
steps:
6369
- uses: actions/checkout@v2
70+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
71+
with:
72+
cache_key: ${{ matrix.os }}
6473
- name: Setup Bundler
6574
run: scripts/setup_bundler.sh
6675
- name: Setup project and Build for Catalyst

.github/workflows/app_check.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
diagnostic: [tsan, asan, ubsan]
4545
steps:
4646
- uses: actions/checkout@v2
47+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
48+
with:
49+
cache_key: ${{ matrix.os }}
4750
- name: Initialize xcodebuild
4851
run: scripts/setup_spm_tests.sh
4952
- name: iOS Unit Tests
@@ -79,6 +82,9 @@ jobs:
7982
runs-on: macos-11
8083
steps:
8184
- uses: actions/checkout@v2
85+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
86+
with:
87+
cache_key: ${{ matrix.os }}
8288
- name: Initialize xcodebuild
8389
run: scripts/setup_spm_tests.sh
8490
- name: iOS Unit Tests
@@ -95,6 +101,9 @@ jobs:
95101
target: [tvOS, macOS, catalyst]
96102
steps:
97103
- uses: actions/checkout@v2
104+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
105+
with:
106+
cache_key: ${{ matrix.os }}
98107
- name: Initialize xcodebuild
99108
run: scripts/setup_spm_tests.sh
100109
- name: Unit Tests

.github/workflows/appdistribution.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
runs-on: macos-11
3636
steps:
3737
- uses: actions/checkout@v2
38+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
39+
with:
40+
cache_key: ${{ matrix.os }}
3841
- name: Initialize xcodebuild
3942
run: scripts/setup_spm_tests.sh
4043
- name: iOS Unit Tests
@@ -47,6 +50,9 @@ jobs:
4750
runs-on: macos-11
4851
steps:
4952
- uses: actions/checkout@v2
53+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
54+
with:
55+
cache_key: ${{ matrix.os }}
5056
- name: Setup Bundler
5157
run: scripts/setup_bundler.sh
5258
- name: Setup project and Build for Catalyst

.github/workflows/archiving.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
pod: ["FirebaseAppDistribution", "FirebaseDynamicLinks", "FirebaseInAppMessaging", "FirebasePerformance"]
2323
steps:
2424
- uses: actions/checkout@v2
25+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
26+
with:
27+
cache_key: ${{ matrix.os }}
2528
- name: Setup Bundler
2629
run: scripts/setup_bundler.sh
2730
- name: Setup project and archive
@@ -41,6 +44,9 @@ jobs:
4144
pod: ["FirebaseABTesting", "FirebaseAuth", "FirebaseCore", "FirebaseCrashlytics", "FirebaseDatabase", "FirebaseFirestore", "FirebaseFunctions", "FirebaseMessaging", "FirebaseRemoteConfig", "FirebaseStorage"]
4245
steps:
4346
- uses: actions/checkout@v2
47+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
48+
with:
49+
cache_key: ${{ matrix.os }}
4450
- name: Setup Bundler
4551
run: scripts/setup_bundler.sh
4652
- name: Setup project and archive

.github/workflows/auth.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
runs-on: macos-11
4242
steps:
4343
- uses: actions/checkout@v2
44+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
45+
with:
46+
cache_key: ${{ matrix.os }}
4447
- name: Setup Bundler
4548
run: scripts/setup_bundler.sh
4649
- name: Prereqs
@@ -74,6 +77,9 @@ jobs:
7477
target: [iOS, tvOS, macOS, catalyst]
7578
steps:
7679
- uses: actions/checkout@v2
80+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
81+
with:
82+
cache_key: ${{ matrix.os }}
7783
- name: Initialize xcodebuild
7884
run: scripts/setup_spm_tests.sh
7985
- name: Unit Tests
@@ -86,6 +92,9 @@ jobs:
8692
runs-on: macos-11
8793
steps:
8894
- uses: actions/checkout@v2
95+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
96+
with:
97+
cache_key: ${{ matrix.os }}
8998
- name: Setup Bundler
9099
run: scripts/setup_bundler.sh
91100
- name: Setup project and Build for Catalyst

.github/workflows/cocoapods-integration.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
config: [Cocoapods_multiprojects_frameworks, Cocoapods_multiprojects_staticLibs]
2222
steps:
2323
- uses: actions/checkout@v2
24+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
25+
with:
26+
cache_key: ${{ matrix.os }}
2427
- name: Get realpath
2528
run: brew install coreutils
2629
- name: Build and test

.github/workflows/combine.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454

5555
steps:
5656
- uses: actions/checkout@v2
57+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
58+
with:
59+
cache_key: ${{ matrix.os }}
5760

5861
- name: Setup build
5962
run: scripts/install_prereqs.sh CombineSwift ${{ matrix.target }} xcodebuild
@@ -69,6 +72,9 @@ jobs:
6972
runs-on: macos-11
7073
steps:
7174
- uses: actions/checkout@v2
75+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
76+
with:
77+
cache_key: ${{ matrix.os }}
7278
- name: Setup Bundler
7379
run: scripts/setup_bundler.sh
7480
- name: Install Secret GoogleService-Info.plist

.github/workflows/core-diagnostics.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
runs-on: macos-11
3636
steps:
3737
- uses: actions/checkout@v2
38+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
39+
with:
40+
cache_key: ${{ matrix.os }}
3841
- name: Initialize xcodebuild
3942
run: scripts/setup_spm_tests.sh
4043
- name: iOS Unit Tests
@@ -47,6 +50,9 @@ jobs:
4750
runs-on: macos-11
4851
steps:
4952
- uses: actions/checkout@v2
53+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
54+
with:
55+
cache_key: ${{ matrix.os }}
5056
- name: Setup Bundler
5157
run: scripts/setup_bundler.sh
5258
- name: Setup project and Build Catalyst

.github/workflows/core.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
runs-on: macos-11
3535
steps:
3636
- uses: actions/checkout@v2
37+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
38+
with:
39+
cache_key: ${{ matrix.os }}
3740
- name: Initialize xcodebuild
3841
run: scripts/setup_spm_tests.sh
3942
- name: iOS Unit Tests
@@ -48,6 +51,9 @@ jobs:
4851
target: [tvOS, macOS, catalyst]
4952
steps:
5053
- uses: actions/checkout@v2
54+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
55+
with:
56+
cache_key: ${{ matrix.os }}
5157
- name: Initialize xcodebuild
5258
run: scripts/setup_spm_tests.sh
5359
- name: Unit Tests
@@ -60,6 +66,9 @@ jobs:
6066
runs-on: macos-11
6167
steps:
6268
- uses: actions/checkout@v2
69+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
70+
with:
71+
cache_key: ${{ matrix.os }}
6372
- name: Setup Bundler
6473
run: scripts/setup_bundler.sh
6574
- name: Setup project and Build Catalyst

.github/workflows/crashlytics.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
runs-on: macos-11
3838
steps:
3939
- uses: actions/checkout@v2
40+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
41+
with:
42+
cache_key: ${{ matrix.os }}
4043
- name: Initialize xcodebuild
4144
run: scripts/setup_spm_tests.sh
4245
- name: iOS Unit Tests
@@ -51,6 +54,9 @@ jobs:
5154
target: [tvOS, macOS, catalyst]
5255
steps:
5356
- uses: actions/checkout@v2
57+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
58+
with:
59+
cache_key: ${{ matrix.os }}
5460
- name: Initialize xcodebuild
5561
run: scripts/setup_spm_tests.sh
5662
- name: Unit Tests
@@ -64,6 +70,9 @@ jobs:
6470
runs-on: macos-11
6571
steps:
6672
- uses: actions/checkout@v2
73+
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
74+
with:
75+
cache_key: ${{ matrix.os }}
6776
- name: Setup Bundler
6877
run: scripts/setup_bundler.sh
6978
- name: Setup project and Build for Catalyst

0 commit comments

Comments
 (0)