-
Notifications
You must be signed in to change notification settings - Fork 231
47 lines (39 loc) · 928 Bytes
/
linux-build.yml
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
44
45
46
47
name: Linux Build
on:
push:
branches:
- 'v2.0'
pull_request:
branches:
- 'v2.0'
defaults:
run:
shell: bash
env:
SOURCE_DIR: ${{ github.workspace }}
QT_VERSION: '6.5.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
host: linux
target: desktop
arch: gcc_64
dir: ${{ runner.temp }}
setup-python: false
- name: Create Build Directory
run: mkdir ${{ env.SOURCE_DIR }}/build
- name: Build
# working-directory: ${{ env.SOURCE_DIR }}/build
run: |
qmake -project
qmake src/SMTPEmail.pro
make