From 03abed13959c8a5b3d7f59dbad822d4149faf5e8 Mon Sep 17 00:00:00 2001 From: itzParsaYC <115403383+ParsaAslaniYC@users.noreply.github.com> Date: Sun, 6 Oct 2024 11:21:15 +0330 Subject: [PATCH] Workflow: add linux --- .github/workflows/linux.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/linux.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..4fbaade --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,38 @@ +name: Build Linux + +on: + push: + branches: + - master + pull_request: + branches: + - master + workflow_dispatch: # Manual trigger + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Qt + uses: jurplel/install-qt-action@v2 + with: + version: '6.7.1' # Adjust the version as needed + + - name: Generate Makefile + run: qmake -config release + + - name: Build the project + run: make + + - name: Package the application + run: linuxdeployqt DXUI-Installer -appimage + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: DXUI-Installer-Linux + path: DXUI-Installer.AppImage