From 8c6e23fb01c1445bf840926e983e9da3c888ad78 Mon Sep 17 00:00:00 2001 From: David Crespo Date: Thu, 4 Apr 2024 17:09:14 -0500 Subject: [PATCH] first pass at mac binary build --- .github/workflows/mac.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/mac.yml diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml new file mode 100644 index 00000000..63e17e1d --- /dev/null +++ b/.github/workflows/mac.yml @@ -0,0 +1,22 @@ +name: macOS binaries + +on: + push: + branches: [main] + pull_request: + +jobs: + build: + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + + - run: cargo build -p mgd --release --no-default-features + + - name: Upload mgd binary + uses: actions/upload-artifact@v4 + with: + name: mgd-${{ github.sha }} + path: target/release/mgd