-
Notifications
You must be signed in to change notification settings - Fork 94
45 lines (40 loc) · 1.11 KB
/
jobs.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
name: libQGLViewer
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
include:
- runner: 'ubuntu-latest'
qtVersion: '6.2.2'
- runner: 'ubuntu-latest'
qtVersion: '5.15.2'
# - runner: 'macOS-11'
# qtVersion: '6.2.2'
- runner: 'windows-2019'
qtVersion: '6.2.2'
qtArch: 'win64_msvc2019_64'
- runner: 'windows-2019'
qtVersion: '5.15.2'
qtArch: 'win64_msvc2019_64'
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qtVersion }}
arch: ${{ matrix.qtArch }}
cache: true
- name: Install GLU
if: startsWith(matrix.runner, 'ubuntu')
run: sudo apt-get install -y libglu1-mesa-dev
- name: Build QGLViewer
run: |
mkdir build
cmake -B build -S .
cmake --build build --config Release