-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 934 Bytes
/
linux.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
name: Compile on Linux
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
modules: 'qtlocation qtpositioning'
version: '6.*.*'
- name: Install Additional Software
run: |
sudo apt install ninja-build
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: linux
- name: Compile and Install
run: |
Qt6_DIR_BASE=$(dirname "$Qt6_DIR") ./buildscript-linux.sh
- name: Package
run: |
tar cvfz enrouteDependencies_linux.tar.gz Qt
- name: Upload to developerBuilds
run: |
gh release upload --clobber developerBuilds *.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}