-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try building mgd on macOS in a github action
- Loading branch information
1 parent
9d59e99
commit a5e90f3
Showing
1 changed file
with
23 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: mgd on macOS | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
types: [ opened, synchronize, reopened ] | ||
|
||
jobs: | ||
mgd-macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# TODO: seems like we'd want to pull version from rust-toolchain.toml | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Build mgd | ||
run: cargo build --bin mgd --no-default-features --release | ||
- name: Store binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: mgd | ||
path: target/release/mgd |