Skip to content

Commit

Permalink
try building mgd on macOS in a github action
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Jan 2, 2024
1 parent 9d59e99 commit a5e90f3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/macos.yml
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

0 comments on commit a5e90f3

Please sign in to comment.