forked from Syllo/nvtop
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 899 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build NVTOP Application
on:
workflow_dispatch:
push:
tags:
- "*"
jobs:
build:
name: Build App
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Install libraries
run: |
sudo apt-get install libdrm-dev libsystemd-dev libudev-dev
sudo apt-get install libfuse2
- name: Install build tools
run: |
sudo apt-get install -y dh-make devscripts build-essential lintian
- name: Build
run: |
bash ${{ github.workspace }}/release.sh deb
- name: Upload workflow artifacts
uses: actions/upload-artifact@v4
with:
name: nvtop
path: |
${{ github.workspace }}/release/nvtop_*.deb
${{ github.workspace }}/release/nvtop-*.AppImage