Rename test.yml to Linux.yml

This commit is contained in:
cmclark00 2024-08-14 16:03:19 -04:00 committed by GitHub
parent 2798182196
commit 7ee97fcea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

34
.github/workflows/Linux.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: Build rpi-imager Debian Package
on:
push:
branches:
- qml
pull_request:
branches:
- qml
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install build dependencies
run: |
sudo apt update
sudo apt install build-essential devscripts debhelper cmake git libarchive-dev libcurl4-gnutls-dev liblzma-dev \
qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev libqt5svg5-dev qttools5-dev libgnutls28-dev \
qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects
- name: Build Debian package
run: |
debuild -uc -us
- name: Upload Debian package as artifact
uses: actions/upload-artifact@v3
with:
name: rpi-imager-deb
path: /home/runner/work/retro-imager/*.deb