Update rust.yml #34
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
name: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-macOS: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cd "Rust Middleware" && cargo build --release --verbose | |
- name: Run tests | |
run: cd "Rust Middleware" && cargo test --verbose | |
- name: Upload Build Artifacts | |
uses: actions/[email protected] | |
with: | |
name: "macOS" | |
path: "Rust Middleware/target/x86_64-apple-darwin/*" |