-
Notifications
You must be signed in to change notification settings - Fork 87
74 lines (70 loc) · 1.86 KB
/
huggle.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: huggle
on:
push:
pull_request:
jobs:
build-linux:
name: Linux
runs-on: ubuntu-${{ matrix.ubuntu-version }}
env:
QTTYPE: 5
strategy:
fail-fast: false
matrix:
ubuntu-version: [18.04, 20.04]
qt-version: [5.12.10, 5.15.2]
steps:
- uses: actions/checkout@v2
- uses: jurplel/install-qt-action@v2
with:
version: ${{ matrix.qt-version }}
modules: 'qtwebengine'
- run: travis/before_script.sh
- run: travis/script.sh
build-macos:
name: macOS
runs-on: macos-latest
env:
QTTYPE: 5
strategy:
fail-fast: false
matrix:
qt-version: [5.12.10, 5.15.2]
steps:
- uses: jurplel/install-qt-action@v2
with:
version: ${{ matrix.qt-version }}
modules: 'qtwebengine'
- uses: actions/checkout@v2
- run: travis/before_install_osx.sh
- run: travis/before_script_osx.sh
- run: travis/script_osx.sh
build-windows:
name: Windows
runs-on: windows-${{ matrix.windows-version }}
env:
QTTYPE: 5
strategy:
fail-fast: false
matrix:
windows-version: [2019]
qt-version: [5.12.10, 5.15.2]
steps:
- name: checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- uses: jurplel/install-qt-action@v2
with:
version: ${{ matrix.qt-version }}
modules: 'qtwebengine'
- uses: microsoft/setup-msbuild@v1.0.2
- name: run appveyor script
shell: pwsh
working-directory: ./windows64
run: |
$msbuildpath = vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1
if ($path) {
& $path $args
}
./veyor.ps1 -msbuild_path $msbuildpath -qt5_path $env:Qt5_Dir