Created
December 10, 2019 16:24
-
-
Save j2doll/f723e33fafbbcf306d8f262b0d42dd4e to your computer and use it in GitHub Desktop.
Qt github action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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