Skip to content

Commit

Permalink
build: fix macos pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Becher authored and Armin Becher committed Mar 8, 2024
1 parent b1a2d4a commit 4505110
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,16 @@ jobs:
path: ./target/release/${{ env.BINARY_NAME }}.exe

build_osx:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build-musl macOS x86
uses: Shogan/[email protected]
with:
args: cargo build --target x86_64-apple-darwin --release
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run tests
run: cargo test --verbose
- name: Build
run: |
cargo build --verbose --release
ls ./target
- uses: actions/upload-artifact@v3
with:
name: apple-darwin
Expand Down

0 comments on commit 4505110

Please sign in to comment.