Skip to content

Instantly share code, notes, and snippets.

@j2doll
Created December 10, 2019 16:24
Show Gist options
  • Save j2doll/f723e33fafbbcf306d8f262b0d42dd4e to your computer and use it in GitHub Desktop.
Save j2doll/f723e33fafbbcf306d8f262b0d42dd4e to your computer and use it in GitHub Desktop.
Qt github action
jobs:
windows:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Prepare
working-directory: build
run: |
curl -vLo qt-unified-windows-x86-online.exe http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe
qt-unified-windows-x86-online.exe --verbose --script ..\ci\qt.qs
- name: Configure
working-directory: build
run: cmake -DCPACK_IFW_ROOT=Qt/Tools/QtInstallerFramework/3.1 -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" ..
- name: Compile
working-directory: build
run: cmake --build . --config Release -j 4
- name: Package
working-directory: build
run: cmake --build . --config Release --target package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment