From fa1cbb932278c052263f02ea39d9b66f6d3543d0 Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Tue, 31 Jan 2023 14:59:38 +0100 Subject: [PATCH] Add action for qt client (#14566) * Add action for qt client * Use matrix for os too --- .github/workflows/samples-cpp-qt-client.yaml | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/samples-cpp-qt-client.yaml diff --git a/.github/workflows/samples-cpp-qt-client.yaml b/.github/workflows/samples-cpp-qt-client.yaml new file mode 100644 index 00000000000..2ef3fbc96a1 --- /dev/null +++ b/.github/workflows/samples-cpp-qt-client.yaml @@ -0,0 +1,34 @@ +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.4.2' + os: + - ubuntu-latest + - macOS-latest + - windows-latest + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: jurplel/install-qt-action@v3 + with: + version: ${{ matrix.qt-version }} + - name: Build + working-directory: "samples/client/petstore/cpp-qt" + run: ./build-and-test.bash