Skip to content

Commit

Permalink
Adds step to build macOS binary
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed May 26, 2024
1 parent d7487fc commit 11d7f28
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ jobs:
uses: actions/checkout@v4
- name: Lint
run: cargo clippy --workspace -- -D warnings
- name: Build
run: |
cargo build --release --target aarch64-apple-darwin
cargo build --release --target x86_64-apple-darwin
mkdir -p dist/bin
lipo -create -output dist/bin/warp target/aarch64-apple-darwin/release/warp target/x86_64-apple-darwin/release/warp
- name: Create Apple Disk Image
run: hdiutil create -volname Warp -srcfolder dist Warp.dmg
- name: Upload
uses: actions/upload-artifact@v4
with:
name: warp-macos
path: Warp.dmg
windows:
name: Build (Windows)
runs-on: windows-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/Cargo.lock
/dist/
/target

0 comments on commit 11d7f28

Please sign in to comment.