Skip to content

Commit 4aaf45f

Browse files
committed
analytics CI improvements
1 parent bf44964 commit 4aaf45f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/analytics.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ env:
2727
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2828

2929
jobs:
30-
cocoapods:
31-
name: cocoapods - ${{ matrix.os }}
30+
spm:
31+
name: spm - ${{ matrix.os }}
3232
runs-on: macOS-15
3333
strategy:
3434
matrix:
@@ -52,28 +52,27 @@ jobs:
5252
device: localhost
5353
scheme: AnalyticsExampleMac
5454
test: true
55+
5556
env:
56-
SPM: false
57+
SPM: true
5758
LEGACY: false
5859
OS: ${{ matrix.os }}
5960
DEVICE: ${{ matrix.device }}
6061
SCHEME: ${{ matrix.scheme }}
6162
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
63+
DIR: analytics
6264
steps:
6365
- name: Checkout
6466
uses: actions/checkout@master
6567
- name: Setup
6668
run: |
6769
cd analytics
68-
gem install bundler
69-
bundle install
7070
gem install xcpretty
71-
bundle exec pod install --repo-update
7271
../scripts/install_prereqs/analytics.sh
7372
- name: Build Swift
7473
run: ./scripts/test.sh
7574
env:
7675
TEST: ${{ matrix.test }}
77-
SWIFT_SUFFIX: ""
76+
SCHEME: AnalyticsExample
7877

7978
#TODO: Add `spm` job.

0 commit comments

Comments
 (0)