Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameo007 authored Aug 9, 2023
1 parent ee13531 commit e5c8c26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ jobs:
- uses: actions/checkout@v3
- name: Build
run: cd "Rust Middleware" && cargo build --release --verbose
- name: Build Silicon
run: cd "Rust Middleware" && rustup target add aarch64-apple-darwin && cargo build --release --target aarch64-apple-darwin --verbose
- name: Run tests
run: cd "Rust Middleware" && cargo test --verbose
- name: Prepare upload
run: mkdir "build" && cp "Rust Middleware/target/crs" "build/crs_x86" && cp "Rust Middleware/target/aarch64-apple-darwin/*" "build/"
- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: "macOS"
path: "Rust Middleware/target/release/*"
path: "build/*"

0 comments on commit e5c8c26

Please sign in to comment.