From 50a434db10adb1721e2bf5a1b007707a6c17b6da Mon Sep 17 00:00:00 2001 From: Shriraj Hegde Date: Tue, 5 Oct 2021 14:12:36 +0530 Subject: [PATCH] Add workflow for continuous build --- .github/workflows/continuous-build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/continuous-build.yml diff --git a/.github/workflows/continuous-build.yml b/.github/workflows/continuous-build.yml new file mode 100644 index 0000000..d8d8f80 --- /dev/null +++ b/.github/workflows/continuous-build.yml @@ -0,0 +1,22 @@ +name: Continuous Build + +on: + push + +jobs: + build: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 + - name: update system + run: | + sudo apt update && sudo apt upgrade -y + - name: Build + run: make -j `nproc` + + - uses: actions/upload-artifact@v2 + with: + name: Upload built binary + path: 'bin/btop'