-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (40 loc) · 1.07 KB
/
linux-build-qt5.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: Build-Linux-Qt5
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Install system dependencies
run: |
sudo apt-get update && \
sudo apt-get install \
ninja-build \
libgmock-dev \
qtbase5-dev \
libcurl4-openssl-dev \
libmicrohttpd-dev \
libjsoncpp-dev
- name: Build
uses: ashutoshvarma/action-cmake-build@master
with:
build-dir: ${{ runner.workspace }}/build
build-type: Release
configure-options: -DCppRestAPI_Tests=ON -DCppRestAPI_UseQt6=OFF
run-test: true
- name: Build Examples
uses: ashutoshvarma/action-cmake-build@master
with:
source-dir: ${{ github.workspace }}/examples
build-dir: ${{ runner.workspace }}/build-examples
build-type: Release