Skip to content

Linux Build

Linux Build #38

Workflow file for this run

name: Linux Build
on:
push:
branches:
- experimental
pull_request:
branches:
- experimental
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Cache Qt
uses: actions/cache@v4
with:
path: '${{ runner.temp }}/qt'
key: ${{ runner.os }}-qt-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: |
${{ runner.os }}-qt-
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.8.3'
target: 'desktop'
dir: '${{ runner.temp }}/qt'
- name: Cache CMake dependencies
uses: actions/cache@v4
with:
path: build/.cmake
key: ${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: |
${{ runner.os }}-cmake-
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential cmake libcurl4-openssl-dev
- name: Build with CMake
run: |
mkdir build
cd build
cmake ..
make
cd ..
- name: RunDeploy
run: |
chmod +x ./scripts/linux/deploy.sh
./scripts/linux/deploy.sh
- name: Send Artifact
uses: actions/upload-artifact@v4
with:
name: KhinsiderQT
path: deploy/result/KhinsiderQT*.AppImage