forked from Syllo/nvtop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8fe0f4
commit 92bfa8f
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build Nvtop Application | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
env: | ||
SOURCE_DIR: ${{ github.workspace }} | ||
|
||
jobs: | ||
build: | ||
name: Build App | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
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 | ||
sudo apt-get install -y devscripts build-essential lintian | ||
- name: Build | ||
run: | | ||
bash ${{ env.SOURCE_DIR }}/release.sh deb | ||
- name: Upload workflow artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: nvtop | ||
path: | | ||
${{ env.SOURCE_DIR }}/release/nvtop_*.deb | ||
${{ env.SOURCE_DIR }}/release/nvtop-*.AppImage |