From e22b91461eaceade7205da314598ab917bd6f6df Mon Sep 17 00:00:00 2001 From: Maks Tamoian <99553497+makstamoian@users.noreply.github.com> Date: Thu, 20 Jun 2024 22:03:49 +0200 Subject: [PATCH] Add a workflow to build ping and save the artifact Be aware: this build artifact works only on Linux x86_64, if your system is different, you will have to build it yourself (bruh cmon like Linux is so cool this tool wont even work on windows or mac) --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..452b31f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build ping + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Build + - run: make + + - name: Archive build artifact (Linux x86_64 exclusive) + uses: actions/upload-artifact@v4 + with: + name: ping + path: ping + +