-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathinfra.cocoapods.integration.yml
More file actions
39 lines (35 loc) · 1.48 KB
/
infra.cocoapods.integration.yml
File metadata and controls
39 lines (35 loc) · 1.48 KB
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
name: infra.cocoapods.integration
on:
workflow_dispatch:
pull_request:
paths:
- 'IntegrationTesting/CocoapodsIntegrationTest/**'
- '.github/workflows/infra.cocoapods.integration.yml'
- 'Gemfile*'
schedule:
# Run every day at 3am (PDT) / 6am (EDT) - cron uses UTC times
- cron: '0 10 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
tests:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: macos-15
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Get realpath
run: brew install coreutils
- name: Build and test
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
with:
timeout_minutes: 20
max_attempts: 3
retry_wait_seconds: 300
command: |
./IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh \
--gemfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile \
--podfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile