diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml new file mode 100644 index 0000000..3986b41 --- /dev/null +++ b/.github/workflows/build-windows.yml @@ -0,0 +1,34 @@ +--- +name: build-windows + +on: + workflow_call: + +jobs: + build-windows: + name: Build against Qt ${{ matrix.qt }} on Windows + runs-on: windows-latest + + strategy: + matrix: + qt: [5.15.*, 6.6.*] + fail-fast: false + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Qt + uses: jurplel/install-qt-action@v3 + with: + version: ${{ matrix.qt }} + host: windows + target: desktop + dir: ${{ runner.temp }}/qt + setup-python: false + + - name: Configure + run: cmake -B ${{ runner.temp }}/build . + + - name: Build + run: cmake --build ${{ runner.temp }}/build diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43d3fd3..7330098 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,3 +15,6 @@ on: jobs: matrix-linux: uses: ./.github/workflows/build-linux.yml + + matrix-windows: + uses: ./.github/workflows/build-windows.yml