-
Notifications
You must be signed in to change notification settings - Fork 16
52 lines (42 loc) · 1.05 KB
/
linux_release.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
48
49
50
51
52
name: Linux Compilation
on:
push:
branches:
- 'master'
- 'continuous-integration'
- 'cross-platform'
tags:
- 'v*'
pull_request:
branches:
- 'master'
- 'continuous-integration'
defaults:
run:
shell: bash
env:
SOURCE_DIR: ${{ github.workspace }}
QT_VERSION: 5.15.2
jobs:
build:
runs-on: ubuntu-24.04
#runs-on: self-hosted
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{ env.QT_VERSION }}
setup-python: false
- name: Install other dependencies
run: /usr/bin/sudo apt-get install libglu1-mesa-dev libeigen3-dev
- name: Create build directory
run: mkdir ${{ env.SOURCE_DIR }}/build
- name: Build
working-directory: ${{ env.SOURCE_DIR }}/build
run: |
qmake -r ${{ env.SOURCE_DIR }}/FlatFab.pro
make