Skip to content

Merge pull request #35 from Kicer86/use_cpp-httplib #123

Merge pull request #35 from Kicer86/use_cpp-httplib

Merge pull request #35 from Kicer86/use_cpp-httplib #123

name: Build-Linux-Qt6
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.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 \
qt6-base-dev \
libcurl4-openssl-dev \
libcpp-httplib-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=ON
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
configure-options: -DCppRestAPI_UseQt6=ON