dynamiclinks.yml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. # TODO(Swift 6): Re-enable these tests.
  2. # name: dynamiclinks
  3. # on:
  4. # workflow_dispatch:
  5. # pull_request:
  6. # paths:
  7. # - 'FirebaseDynamicLinks**'
  8. # - '.github/workflows/dynamiclinks.yml'
  9. # - 'Interop/Analytics/Public/*.h'
  10. # - 'Gemfile*'
  11. # schedule:
  12. # # Run every day at 1am (PST) - cron uses UTC times
  13. # - cron: '0 9 * * *'
  14. # concurrency:
  15. # group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  16. # cancel-in-progress: true
  17. # jobs:
  18. # spm:
  19. # strategy:
  20. # matrix:
  21. # target: [FirebaseAppCheckUnit, FirebaseAppCheckUnitSwift]
  22. # uses: ./.github/workflows/common.yml
  23. # with:
  24. # target: FirebaseDynamicLinks
  25. # buildonly_platforms: iOS
  26. # platforms: iOS
  27. # pod_lib_lint:
  28. # # Don't run on private repo unless it is a PR.
  29. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  30. # strategy:
  31. # matrix:
  32. # include:
  33. # - os: macos-14
  34. # xcode: Xcode_16.2
  35. # - os: macos-15
  36. # xcode: Xcode_16.2
  37. # runs-on: ${{ matrix.os }}
  38. # steps:
  39. # - uses: actions/checkout@v4
  40. # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  41. # - name: Setup Bundler
  42. # run: scripts/setup_bundler.sh
  43. # - name: Xcode
  44. # run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
  45. # - name: FirebaseDynamicLinks
  46. # run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec --allow-warnings
  47. # dynamiclinks-cron-only:
  48. # # Don't run on private repo.
  49. # if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
  50. # runs-on: macos-15
  51. # strategy:
  52. # matrix:
  53. # flags: [
  54. # '--use-static-frameworks'
  55. # ]
  56. # needs: pod_lib_lint
  57. # steps:
  58. # - uses: actions/checkout@v4
  59. # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  60. # - name: Setup Bundler
  61. # run: scripts/setup_bundler.sh
  62. # - name: Xcode
  63. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  64. # - name: PodLibLint Storage Cron
  65. # run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec --platforms=ios ${{ matrix.flags }} --allow-warnings
  66. # quickstart:
  67. # # Don't run on private repo unless it is a PR.
  68. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  69. # env:
  70. # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  71. # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  72. # runs-on: macos-15
  73. # steps:
  74. # - uses: actions/checkout@v4
  75. # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  76. # - name: Xcode
  77. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  78. # - name: Setup quickstart
  79. # run: scripts/setup_quickstart.sh DynamicLinks
  80. # - name: Install Secret GoogleService-Info.plist
  81. # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-dynamiclinks.plist.gpg \
  82. # quickstart-ios/dynamiclinks/GoogleService-Info.plist "$plist_secret"
  83. # - name: Update Environment Variable For DynamicLinks
  84. # run: |
  85. # sed -i '' 's#DYNAMIC_LINK_DOMAIN#https://qpf6m.app.goo.gl#' quickstart-ios/dynamiclinks/DynamicLinksExample/DynamicLinksExample.entitlements
  86. # sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExample/ViewController.m
  87. # sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExampleSwift/ViewController.swift
  88. # - name: Test objc quickstart
  89. # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks false)
  90. # - name: Test swift quickstart
  91. # if: ${{ always() }}
  92. # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks false swift)
  93. # quickstart-ftl-cron-only:
  94. # # Don't run on private repo.
  95. # if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
  96. # env:
  97. # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  98. # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  99. # runs-on: macos-15
  100. # steps:
  101. # - uses: actions/checkout@v4
  102. # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  103. # - uses: actions/setup-python@v5
  104. # with:
  105. # python-version: '3.11'
  106. # - name: Xcode
  107. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  108. # - name: Setup quickstart
  109. # run: scripts/setup_quickstart.sh DynamicLinks
  110. # - name: Install Secret GoogleService-Info.plist
  111. # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-dynamiclinks.plist.gpg \
  112. # quickstart-ios/dynamiclinks/GoogleService-Info.plist "$plist_secret"
  113. # - name: Update Environment Variable For DynamicLinks
  114. # run: |
  115. # sed -i '' 's#DYNAMIC_LINK_DOMAIN#https://qpf6m.app.goo.gl#' quickstart-ios/dynamiclinks/DynamicLinksExample/DynamicLinksExample.entitlements
  116. # sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExample/ViewController.m
  117. # sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExampleSwift/ViewController.swift
  118. # # - name: Build objc quickstart
  119. # # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh DynamicLinks)
  120. # - name: Build swift quickstart
  121. # if: ${{ always() }}
  122. # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh DynamicLinks swift)
  123. # - id: ftl_test
  124. # uses: FirebaseExtended/github-actions/firebase-test-lab@v1.4
  125. # with:
  126. # credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
  127. # testapp_dir: quickstart-ios/build-for-testing
  128. # test_type: "xctest"