mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-17 01:45:34 +12:00
Add workflow for continuous build
This commit is contained in:
parent
76536c5230
commit
50a434db10
22
.github/workflows/continuous-build.yml
vendored
Normal file
22
.github/workflows/continuous-build.yml
vendored
Normal 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'
|
Loading…
Reference in a new issue