Skip to content

Commit

Permalink
Remove rosetta install
Browse files Browse the repository at this point in the history
  • Loading branch information
Heliozoa committed Aug 23, 2023
1 parent 1d3d1fa commit 93c8d0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
rust-target: x86_64-pc-windows-msvc
java-arch: x64
- os: macos-latest
rust-target: aarch64-apple-darwin
java-arch: aarch64
rust-target: x86_64-apple-darwin
java-arch: x64
fail-fast: false
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -93,8 +93,5 @@ jobs:
Rscript -e 'install.packages(c("testthat", "jsonlite", "R.utils"))'
Rscript -e 'install.packages("crates/plugins/r/tests/tmcRtestrunner", repos=NULL, type="source")'
- name: Install rosetta
if: matrix.os == 'macos-latest'
run: softwareupdate --install-rosetta --agree-to-license
- name: Run tests
run: cargo test --no-fail-fast --target ${{ matrix.rust-target }}
4 changes: 2 additions & 2 deletions .github/workflows/upload-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ jobs:
run: codesign --force -s - target/release/tmc-langs-cli
- name: Deploy
run: |
gsutil cp ./target/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
gsutil cp ./crates/bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node
gsutil cp ./target/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
gsutil cp ./crates/bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node

0 comments on commit 93c8d0f

Please sign in to comment.