forked from probonopd/linuxdeployqt
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 979 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Automated Builds
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Download source codes
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y build-essential patchelf libfuse2
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.5.0'
cache: 'true'
install-deps: 'false'
- name: Build the project
run: |
cmake -S . -B build
cmake --build build --parallel --config Release
- name: Publish build artifacts
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
title: latest
prerelease: false
files: build/deploy/*.AppImage