From ce74202ccaa6ec958e37eac3231662e555159541 Mon Sep 17 00:00:00 2001 From: "Octav \"Narc\" Sandulescu" Date: Wed, 20 Nov 2024 00:37:02 +0100 Subject: [PATCH] Add Makefile workflow --- .github/workflows/makefile.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/makefile.yml diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml new file mode 100644 index 0000000..69bcea3 --- /dev/null +++ b/.github/workflows/makefile.yml @@ -0,0 +1,28 @@ +name: Makefile CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: sudo apt-get update; sudo apt-get install lua5.2 make zip + + - name: Run check + run: make package clean + + - name: Save the build + uses: actions/upload-artifact@v4.4.3 + with: + path: pkg/ + if-no-files-found: error + overwrite: true