@@ -18,21 +18,22 @@ concurrency:
1818 cancel-in-progress : true
1919
2020jobs :
21- spm :
22- uses : ./.github/workflows/common.yml
23- with :
24- target : FirebaseMLModelDownloaderUnit
21+ # spm:
22+ # uses: ./.github/workflows/common.yml
23+ # with:
24+ # target: FirebaseMLModelDownloaderUnit
2525
26- catalyst :
27- uses : ./.github/workflows/common_catalyst.yml
28- with :
29- product : FirebaseMLModelDownloader
30- target : FirebaseMLModelDownloader-Unit-unit
26+ # catalyst:
27+ # uses: ./.github/workflows/common_catalyst.yml
28+ # with:
29+ # product: FirebaseMLModelDownloader
30+ # target: FirebaseMLModelDownloader-Unit-unit
3131
3232 pod_lib_lint :
3333 uses : ./.github/workflows/common_cocoapods.yml
3434 with :
3535 product : FirebaseMLModelDownloader
36+ platforms : iOS
3637 setup_command : |
3738 scripts/configure_test_keychain.sh
3839 mkdir FirebaseMLModelDownloader/Tests/Integration/Resources
@@ -43,54 +44,54 @@ jobs:
4344 pwd
4445
4546
46- mlmodeldownloader-cron-only :
47- if : github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
48- runs-on : macos-15
49- env :
50- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
51- strategy :
52- matrix :
53- target : [ios, tvos, macos]
54- needs : pod_lib_lint
55- steps :
56- - uses : actions/checkout@v4
57- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
58- - name : Xcode
59- run : sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
60- - name : Setup Bundler
61- run : scripts/setup_bundler.sh
62- - name : Configure test keychain
63- run : scripts/configure_test_keychain.sh
64- - name : Install GoogleService-Info.plist
65- run : |
66- mkdir FirebaseMLModelDownloader/Tests/Integration/Resources
67- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/MLModelDownloader/GoogleService-Info.plist.gpg \
68- FirebaseMLModelDownloader/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret"
69- - name : PodLibLint MLModelDownloader Cron
70- run : scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMLModelDownloader.podspec --platforms=${{ matrix.target }} --use-static-frameworks
47+ # mlmodeldownloader-cron-only:
48+ # if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
49+ # runs-on: macos-15
50+ # env:
51+ # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
52+ # strategy:
53+ # matrix:
54+ # target: [ios, tvos, macos]
55+ # needs: pod_lib_lint
56+ # steps:
57+ # - uses: actions/checkout@v4
58+ # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
59+ # - name: Xcode
60+ # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
61+ # - name: Setup Bundler
62+ # run: scripts/setup_bundler.sh
63+ # - name: Configure test keychain
64+ # run: scripts/configure_test_keychain.sh
65+ # - name: Install GoogleService-Info.plist
66+ # run: |
67+ # mkdir FirebaseMLModelDownloader/Tests/Integration/Resources
68+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/MLModelDownloader/GoogleService-Info.plist.gpg \
69+ # FirebaseMLModelDownloader/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret"
70+ # - name: PodLibLint MLModelDownloader Cron
71+ # run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMLModelDownloader.podspec --platforms=${{ matrix.target }} --use-static-frameworks
7172
72- mlmodeldownloader-sample-build-test :
73- # Don't run on private repo unless it is a PR.
74- if : github.repository == 'Firebase/firebase-ios-sdk' && (github.event_name == 'schedule' || github.event_name == 'pull_request')
75- env :
76- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
77- runs-on : macos-15
78- steps :
79- - uses : actions/checkout@v4
80- - uses : mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
81- with :
82- cache_key : build-test${{ matrix.os }}
83- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
84- - name : Xcode
85- run : sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
86- - name : Setup Bundler
87- run : scripts/setup_bundler.sh
88- - name : Install GoogleService-Info.plist
89- run : |
90- mkdir FirebaseMLModelDownloader/Apps/Sample/Resources
91- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/MLModelDownloader/GoogleService-Info.plist.gpg \
92- FirebaseMLModelDownloader/Apps/Sample/Resources/GoogleService-Info.plist "$plist_secret"
93- - name : Prereqs
94- run : scripts/install_prereqs.sh MLModelDownloaderSample iOS
95- - name : Build
96- run : ([ -z $plist_secret ] || scripts/build.sh MLModelDownloaderSample iOS)
73+ # mlmodeldownloader-sample-build-test:
74+ # # Don't run on private repo unless it is a PR.
75+ # if: github.repository == 'Firebase/firebase-ios-sdk' && (github.event_name == 'schedule' || github.event_name == 'pull_request')
76+ # env:
77+ # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
78+ # runs-on: macos-15
79+ # steps:
80+ # - uses: actions/checkout@v4
81+ # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
82+ # with:
83+ # cache_key: build-test${{ matrix.os }}
84+ # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
85+ # - name: Xcode
86+ # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
87+ # - name: Setup Bundler
88+ # run: scripts/setup_bundler.sh
89+ # - name: Install GoogleService-Info.plist
90+ # run: |
91+ # mkdir FirebaseMLModelDownloader/Apps/Sample/Resources
92+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/MLModelDownloader/GoogleService-Info.plist.gpg \
93+ # FirebaseMLModelDownloader/Apps/Sample/Resources/GoogleService-Info.plist "$plist_secret"
94+ # - name: Prereqs
95+ # run: scripts/install_prereqs.sh MLModelDownloaderSample iOS
96+ # - name: Build
97+ # run: ([ -z $plist_secret ] || scripts/build.sh MLModelDownloaderSample iOS)
0 commit comments