-
-
Notifications
You must be signed in to change notification settings - Fork 62
24 lines (24 loc) · 981 Bytes
/
macos_arm64.yml
File metadata and controls
24 lines (24 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Apple Silicon Build
on: workflow_dispatch
jobs:
build-macos:
runs-on: macos-11.0
name: Build on darwin-arm64
steps:
- name: Update binaries
run: |
brew install autoconf automake libtool cmake
git clone --branch v1.44.2 --recursive https://github.com/libuv/libuv.git
cd libuv
cmake . -DCMAKE_OSX_ARCHITECTURES=arm64
cmake --build .
cd ../
git clone --recursive https://github.com/cirospaciari/socketify.py.git
cd socketify.py/src/socketify/native
make macos-arm64-libuv-static-cmake
cd ../
git add libsocketify_darwin_arm64.so
git config --global user.email "ciro.spaciari@gmail.com"
git config --global user.name "Ciro Spaciari"
git commit -m "[GitHub Actions] Updated darwin-arm64 binaries" || true
git push "https://cirospaciari:${{ secrets.BUILDTOKEN }}@github.com/cirospaciari/socketify.py.git"