Skip to content

Commit

Permalink
build: try fix mac os build
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Becher authored and Armin Becher committed May 19, 2024
1 parent ef02f4a commit 7a59ab5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: x86_64-apple-darwin
# Tests do not run right now
# - name: Run tests
# run: cargo test --verbose
target: aarch64-apple-darwin
- name: Run tests
run: cargo test --verbose
- name: Build
run: |
cargo build --verbose --release --target x86_64-apple-darwin
cargo build --verbose --release --target aarch64-apple-darwin
ls ./target
- uses: actions/upload-artifact@v3
with:
name: apple-darwin
path: target/x86_64-apple-darwin/release/${{ env.BINARY_NAME }}
path: target/aarch64-apple-darwin/release/${{ env.BINARY_NAME }}

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7a59ab5

Please sign in to comment.