Skip to content

Commit

Permalink
Attempt to use multiple platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
axmetishe committed Feb 9, 2024
1 parent 4565d62 commit 2771a44
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ on:
workflow_dispatch:
jobs:
build-project:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -19,7 +23,11 @@ jobs:
cache: true
- name: Run build with Gradle Wrapper
run: ./gradlew build
- name: Test application
- name: Test application on Linux
if: ${{ matrix.os }} == "ubuntu-latest"
uses: coactions/setup-xvfb@v1
with:
run: ${{ github.workspace }}/build/exe/main/debug/linux/qt-application-example --version
- name: Test application on MacOS
if: ${{ matrix.os }} == "macos-latest"
run: ${{ github.workspace }}/build/exe/main/debug/macos/qt-application-example --version

0 comments on commit 2771a44

Please sign in to comment.