-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/*" |