@@ -15,13 +15,17 @@ jobs:
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- os : [ubuntu-24.04, macos-14, windows-2022]
18+ os : [ubuntu-24.04, macos-14, windows-2022, macos-13-xlarge, macos-13 ]
1919 feature-args : ['', '-Funstable-mobile-app']
2020 include :
2121 - os : ubuntu-24.04
2222 display-os : Linux
2323 - os : macos-14
2424 display-os : macOS
25+ - os : macos-13-xlarge
26+ display-os : macOS 13 arm64
27+ - os : macos-13
28+ display-os : macOS 13 intel
2529 - os : windows-2022
2630 display-os : Windows
2731 - feature-args : ' '
4145
4246 - name : Run Cargo Tests
4347 run : cargo test --workspace ${{ matrix.feature-args }}
48+
49+ cross-platform-test :
50+ strategy :
51+ fail-fast : false
52+ matrix :
53+ feature-args : ['', '-Funstable-mobile-app']
54+ include :
55+ - feature-args : ' '
56+ feature-suffix : ' '
57+ - feature-args : ' -Funstable-mobile-app'
58+ feature-suffix : ' (-Funstable-mobile-app)'
59+
60+ name : Build on macOS 14, Test on macOS 13${{ matrix.feature-suffix }}
61+ runs-on : macos-14
62+
63+ steps :
64+ - name : Checkout Repository
65+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
66+
67+ - name : Cache Dependencies
68+ uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
69+
70+ - name : Build on macOS 14
71+ run : cargo build --release --workspace ${{ matrix.feature-args }}
72+
73+ - name : Upload Build Artifacts
74+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
75+ with :
76+ name : sentry-cli-macos14-build${{ matrix.feature-suffix }}
77+ path : target/release/sentry-cli
78+ retention-days : 1
79+
80+ cross-platform-test-runner :
81+ needs : cross-platform-test
82+ strategy :
83+ fail-fast : false
84+ matrix :
85+ feature-args : ['', '-Funstable-mobile-app']
86+ include :
87+ - feature-args : ' '
88+ feature-suffix : ' '
89+ - feature-args : ' -Funstable-mobile-app'
90+ feature-suffix : ' (-Funstable-mobile-app)'
91+
92+ name : Run macOS 13 ${{ matrix.feature-suffix }}
93+ runs-on : macos-13-xlarge
94+
95+ steps :
96+ - name : Checkout Repository
97+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
98+
99+ - name : Download Build Artifacts
100+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # 4.3.0
101+ with :
102+ name : sentry-cli-macos14-build${{ matrix.feature-suffix }}
103+ path : ./bin
104+
105+ - name : Make Binary Executable
106+ run : chmod +x ./bin/sentry-cli
107+
108+ - name : Test Binary Compatibility
109+ run : |
110+ # Ensure the cli runs
111+ ./bin/sentry-cli --help
0 commit comments