Skip to content

Commit

Permalink
GitHub action build app
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentiumYT committed Oct 24, 2023
1 parent d8fe0f4 commit 92bfa8f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
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

0 comments on commit 92bfa8f

Please sign in to comment.