Skip to content

Commit

Permalink
Try again before resorting to building std
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernthedev committed Dec 28, 2023
1 parent e5791c3 commit 7fe6faf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cargo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -67,15 +65,14 @@ jobs:
- uses: actions-rs/toolchain@v1
if: ${{matrix.os == 'macos-latest' }}
with:
toolchain: nightly
target: aarch64-apple-darwin

- name: Cargo build for aarch64 Mac
if: ${{matrix.os == 'macos-latest' }}
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target aarch64-apple-darwin
args: --release --target aarch64-apple-darwin # -Zbuild-std

- name: Install Inno Setup
if: ${{matrix.os == 'macos-latest' }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/cargo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -72,15 +70,14 @@ jobs:
- uses: actions-rs/toolchain@v1
if: ${{matrix.os == 'macos-latest' }}
with:
toolchain: nightly
target: aarch64-apple-darwin

- name: Cargo build for aarch64 Mac
if: ${{matrix.os == 'macos-latest' }}
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target aarch64-apple-darwin
args: --release --target aarch64-apple-darwin -Zbuild-std

- name: Install Inno Setup
if: ${{matrix.os == 'macos-latest' }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- uses: actions/cache@v3
with:
path: |
Expand Down

0 comments on commit 7fe6faf

Please sign in to comment.