Skip to content

Commit 58a2037

Browse files
committed
Simplify
1 parent f09b22b commit 58a2037

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ jobs:
6161
strategy:
6262
fail-fast: false
6363
matrix:
64-
os: [macos-14, macos-14-large]
64+
os: [macos-14]
6565
feature-args: ['', '-Funstable-mobile-app']
6666
include:
6767
- feature-args: ''
6868
feature-suffix: ''
6969
- feature-args: '-Funstable-mobile-app'
7070
feature-suffix: ' (-Funstable-mobile-app)'
7171

72-
name: Build on macOS 14, Test on macOS 13${{ matrix.feature-suffix }}
72+
name: Build on macOS 14 ${{ matrix.feature-suffix }}
7373
runs-on: ${{ matrix.os }}
7474

7575
steps:
@@ -79,28 +79,27 @@ jobs:
7979
- name: Cache Dependencies
8080
uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
8181

82+
- name: Add Target
83+
run: rustup target add x86_64-apple-darwin
84+
8285
- name: Build on macOS 14
83-
run: cargo build --release --workspace ${{ matrix.feature-args }}
86+
run: cargo build --release --workspace ${{ matrix.feature-args }} --target=x86_64-apple-darwin
8487

8588
- name: Upload Build Artifacts
8689
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
8790
with:
88-
name: sentry-cli-macos14-build${{ matrix.feature-suffix }}-${{ matrix.os }}
89-
path: target/release/sentry-cli
91+
name: sentry-cli-macos14-build${{ matrix.feature-suffix }}
92+
path: target/x86_64-apple-darwin/release/sentry-cli
9093
retention-days: 1
9194

9295
cross-platform-test-runner:
9396
needs: cross-platform-test
9497
strategy:
9598
fail-fast: false
9699
matrix:
97-
os: [macos-13, macos-13-xlarge]
100+
os: [macos-13-xlarge]
98101
feature-args: ['', '-Funstable-mobile-app']
99102
include:
100-
- os: macos-13
101-
base-os: macos-14-large
102-
- os: macos-13-xlarge
103-
base-os: macos-14
104103
- feature-args: ''
105104
feature-suffix: ''
106105
- feature-args: '-Funstable-mobile-app'
@@ -116,7 +115,7 @@ jobs:
116115
- name: Download Build Artifacts
117116
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # 4.3.0
118117
with:
119-
name: sentry-cli-macos14-build${{ matrix.feature-suffix }}-${{ matrix.base-os }}
118+
name: sentry-cli-macos14-build${{ matrix.feature-suffix }}
120119
path: ./bin
121120

122121
- name: Make Binary Executable

0 commit comments

Comments
 (0)