archiving.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: archiving
  2. on:
  3. pull_request:
  4. paths:
  5. - '.github/workflows/archiving.yml'
  6. schedule:
  7. # Run every day at 2am (PST) - cron uses UTC times
  8. # This is set to 3 hours after zip workflow finishes so zip testing can run after.
  9. - cron: '0 10 * * *'
  10. jobs:
  11. # Archive tests for pods that support iOS only.
  12. pods-ios-only-cron:
  13. # Don't run on private repo.
  14. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule')
  15. runs-on: macOS-latest
  16. strategy:
  17. matrix:
  18. # These need to be on a single line or else the formatting won't validate.
  19. pod: ["FirebaseAppDistribution", "FirebaseDynamicLinks", "FirebaseInAppMessaging", "FirebasePerformance"]
  20. steps:
  21. - uses: actions/checkout@v2
  22. - name: Setup Bundler
  23. run: scripts/setup_bundler.sh
  24. - name: Setup project and archive
  25. run: scripts/test_archiving.sh ${{ matrix.pod }} ios ArchiveOutputs/ios.xcarchive
  26. # Archive tests for pods that support iOS, tvOS, and macOS.
  27. pods-ios-tvos-macos-cron:
  28. # Don't run on private repo.
  29. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule')
  30. runs-on: macOS-latest
  31. strategy:
  32. matrix:
  33. target: [ios, tvos, macos]
  34. # These need to be on a single line or else the formatting won't validate.
  35. pod: ["FirebaseABTesting", "FirebaseAuth", "FirebaseCore", "FirebaseCrashlytics", "FirebaseDatabase", "FirebaseFirestore", "FirebaseFunctions", "FirebaseMessaging", "FirebaseRemoteConfig", "FirebaseStorage"]
  36. steps:
  37. - uses: actions/checkout@v2
  38. - name: Setup Bundler
  39. run: scripts/setup_bundler.sh
  40. - name: Setup project and archive
  41. run: scripts/test_archiving.sh ${{ matrix.pod }} ${{ matrix.target }} ArchiveOutputs/${{ matrix.target }}.xcarchive