From e82ec6a4886c0120dd3659bf23bdc3bf18932c13 Mon Sep 17 00:00:00 2001 From: Ciro Spaciari Date: Thu, 3 Nov 2022 18:22:06 -0300 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 1db0694..4a666ac 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -2,6 +2,24 @@ name: Build on: workflow_dispatch jobs: + build-macos: + runs-on: ubuntu-latest + name: Build on darwin-amd64 + steps: + - name: Update binaries + run: | + sudo apt update || true + sudo apt install -y libuv1-dev + sudo apt install -y g++-aarch64-linux-gnu || true + git clone -b workflows-test --recursive https://github.com/cirospaciari/socketify.py.git + cd socketify.py/src/socketify/native + make linux + cd ../ + git add libsocketify_darwin_amd64.so + git config --global user.email "ciro.spaciari@gmail.com" + git config --global user.name "Ciro Spaciari" + git commit -a -m "[GitHub Actions] Updated darwin-amd64 binaries" || true + git push "https://cirospaciari:${{ secrets.BUILDTOKEN }}@github.com/cirospaciari/socketify.py.git" workflows-test build-linux: runs-on: ubuntu-latest name: Build on linux-amd64