-
-
Notifications
You must be signed in to change notification settings - Fork 62
21 lines (21 loc) · 832 Bytes
/
linux.yml
File metadata and controls
21 lines (21 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Linux Build
on: workflow_dispatch
jobs:
build-linux:
runs-on: ubuntu-20.04
name: Build on linux-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 --recursive https://github.com/cirospaciari/socketify.py.git
cd socketify.py/src/socketify/native
make linux
cd ../
git add libsocketify_linux_amd64.so
git config --global user.email "ciro.spaciari@gmail.com"
git config --global user.name "Ciro Spaciari"
git commit -m "[GitHub Actions] Updated linux-amd64 binaries" || true
git push "https://cirospaciari:${{ secrets.BUILDTOKEN }}@github.com/cirospaciari/socketify.py.git"