Skip to content

Commit fa1cbb9

Browse files
Add action for qt client (#14566)
* Add action for qt client * Use matrix for os too
1 parent 37e8cfa commit fa1cbb9

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Samples cpp qt client
2+
3+
on:
4+
push:
5+
branches:
6+
- 'samples/client/petstore/cpp-qt/**'
7+
pull_request:
8+
paths:
9+
- 'samples/client/petstore/cpp-qt/**'
10+
11+
env:
12+
GRADLE_VERSION: 6.9
13+
14+
jobs:
15+
build:
16+
name: Build cpp qt client
17+
strategy:
18+
matrix:
19+
qt-version:
20+
- '5.15.2'
21+
- '6.4.2'
22+
os:
23+
- ubuntu-latest
24+
- macOS-latest
25+
- windows-latest
26+
runs-on: ${{ matrix.os }}
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: jurplel/install-qt-action@v3
30+
with:
31+
version: ${{ matrix.qt-version }}
32+
- name: Build
33+
working-directory: "samples/client/petstore/cpp-qt"
34+
run: ./build-and-test.bash

0 commit comments

Comments
 (0)