Add workflow for continuous build

This commit is contained in:
Shriraj Hegde 2021-10-05 14:12:36 +05:30
parent 76536c5230
commit 50a434db10

22
.github/workflows/continuous-build.yml vendored Normal file
View file

@ -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'