Skip to content

Commit 5239567

Browse files
committed
Revert "remove mac OS builds"
This reverts commit 3ab1d61.
1 parent b103b0f commit 5239567

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,28 @@ jobs:
5555
path: "target/release/libdrift_ffi_sys.so"
5656
name: libdrift_ffi_sys.so
5757

58+
publish-mac:
59+
runs-on: macos-latest
60+
needs: [create-release-preflight]
61+
timeout-minutes: 15
62+
steps:
63+
- name: Check out
64+
uses: actions/checkout@v4
65+
66+
- name: Install ffi toolchain (1.76.0)
67+
run: |
68+
rustup install 1.76.0-x86_64-apple-darwin
69+
rustup default 1.76.0-x86_64-apple-darwin
70+
- name: Build Mac
71+
run: |
72+
cargo build --release
73+
- uses: actions/upload-artifact@v4
74+
with:
75+
path: "target/release/libdrift_ffi_sys.dylib"
76+
name: libdrift_ffi_sys.dylib
77+
5878
create-release:
59-
needs: [create-release-preflight, publish-linux]
79+
needs: [create-release-preflight, publish-linux, publish-mac]
6080
runs-on: ubicloud
6181
permissions:
6282
contents: write

0 commit comments

Comments
 (0)