kopia lustrzana https://github.com/cirospaciari/socketify.py
Create c-cpp.yml
rodzic
960e22da15
commit
f6926424a9
|
@ -0,0 +1,22 @@
|
|||
name: Build
|
||||
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build on amd64
|
||||
steps:
|
||||
- name: Update binaries
|
||||
run: |
|
||||
sudo apt update || true
|
||||
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_linux_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 linux-amd64 binaries" || true
|
||||
git push "https://cirospaciari:${{ secrets.BUILDTOKEN }}@github.com/cirospaciari/socketify.py.git" workflows-test
|
||||
|
Ładowanie…
Reference in New Issue