Skip to content

Commit 93c8d0f

Browse files
committed
Remove rosetta install
1 parent 1d3d1fa commit 93c8d0f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
rust-target: x86_64-pc-windows-msvc
2525
java-arch: x64
2626
- os: macos-latest
27-
rust-target: aarch64-apple-darwin
28-
java-arch: aarch64
27+
rust-target: x86_64-apple-darwin
28+
java-arch: x64
2929
fail-fast: false
3030
runs-on: ${{ matrix.os }}
3131

@@ -93,8 +93,5 @@ jobs:
9393
Rscript -e 'install.packages(c("testthat", "jsonlite", "R.utils"))'
9494
Rscript -e 'install.packages("crates/plugins/r/tests/tmcRtestrunner", repos=NULL, type="source")'
9595
96-
- name: Install rosetta
97-
if: matrix.os == 'macos-latest'
98-
run: softwareupdate --install-rosetta --agree-to-license
9996
- name: Run tests
10097
run: cargo test --no-fail-fast --target ${{ matrix.rust-target }}

.github/workflows/upload-binaries.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,5 @@ jobs:
135135
run: codesign --force -s - target/release/tmc-langs-cli
136136
- name: Deploy
137137
run: |
138-
gsutil cp ./target/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
139-
gsutil cp ./crates/bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node
138+
gsutil cp ./target/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
139+
gsutil cp ./crates/bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node

0 commit comments

Comments
 (0)