forked from loafle/openapi-generator-original
* [cpp-qt-client] pass QString by const reference instead of by value * Add another signal instead of changing its signature * Bump qt version * Fix CODEOWNERS * Try to fix workflow * use v3 * Remove openssl from windows build --------- Co-authored-by: William Cheng <wing328hk@gmail.com>
37 lines
781 B
YAML
37 lines
781 B
YAML
name: Samples cpp qt client
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'samples/client/petstore/cpp-qt/**'
|
|
pull_request:
|
|
paths:
|
|
- 'samples/client/petstore/cpp-qt/**'
|
|
|
|
env:
|
|
GRADLE_VERSION: 6.9
|
|
|
|
jobs:
|
|
build:
|
|
name: Build cpp qt client
|
|
strategy:
|
|
matrix:
|
|
qt-version:
|
|
- '5.15.2'
|
|
- '6.5.3'
|
|
os:
|
|
- ubuntu-latest
|
|
- macOS-latest
|
|
- windows-latest
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install Qt
|
|
uses: jurplel/install-qt-action@v3
|
|
with:
|
|
version: ${{ matrix.qt-version }}
|
|
tools: ${{ matrix.tools }}
|
|
- name: Build
|
|
working-directory: "samples/client/petstore/cpp-qt"
|
|
run: cmake . && cmake --build .
|