Build NVTOP Application #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |