Skip to content

Commit

Permalink
use m1 macs
Browse files Browse the repository at this point in the history
  • Loading branch information
woelper committed Dec 5, 2023
1 parent 61822e0 commit 9043703
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/check_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,13 @@ jobs:
check:
strategy:
matrix:
os: [macos-latest]
os: [macos-latest-xlarge]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ilammy/setup-nasm@v1
- uses: Swatinem/rust-cache@v2






- name: Check without default features
run: cargo check --no-default-features

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macOS-latest, ubuntu-latest]
os: [ubuntu-20.04, windows-2019, macos-latest-xlarge, ubuntu-latest]
rust: [stable]
steps:
- uses: actions/checkout@v2
Expand All @@ -58,11 +58,11 @@ jobs:

- name: Install cargo bundle
run: cargo install cargo-bundle
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macos-latest-xlarge'

- name: Install cargo universal2
run: cargo install universal2
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macos-latest-xlarge'

- name: Install cargo deb
run: cargo install cargo-deb
Expand Down Expand Up @@ -110,11 +110,11 @@ jobs:

- name: Build Mac Bundle
run: ./build_mac.sh
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macos-latest-xlarge'

- name: Zip Mac Bundle
run: mv target/release/bundle/osx/oculante.app . && zip -r oculante_app.zip oculante.app
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macos-latest-xlarge'

- name: Upload Linux 20.04 Release
if: matrix.os == 'ubuntu-20.04'
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
asset_content_type: application/zip

- name: Upload Mac Release
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macos-latest-xlarge'
id: upload-release-asset-mac
uses: actions/upload-release-asset@v1
env:
Expand All @@ -201,7 +201,7 @@ jobs:
asset_content_type: application/zip

- name: Upload Mac Binary
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macos-latest-xlarge'
id: upload-release-asset-bin
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 9043703

Please sign in to comment.