command 'python -m aqt tool windows tools_opensslv3_x64 3.0.12-1 qt.t… #44
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
name: Build | |
on: [push] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2019] | |
version: ['5.15.2'] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v2 | |
with: | |
version: ${{ matrix.version }} | |
host: 'windows' | |
target: 'desktop' | |
arch: 'win64_msvc2019_64' | |
modules: 'qtcharts' | |
tools: 'tools_opensslv3_x64,3.0.12-1,qt.tools.opensslv3.win_x64' | |
- name: Build | |
if: startsWith(matrix.os, 'windows') | |
run: | | |
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" | |
mkdir build | |
cd build | |
cmake -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019_64" -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_BUILD_TYPE=RELEASE -DDEPLOY_QT_LIBRARIES=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON .. | |
cmake --build . --config Release | |
ctest -C Release . | |
cp *.qm ./Release | |
for /R c:\Qt\Tools\OpenSSL %%f in (*.dll) do copy %%f "%CD%\Release" | |
shell: cmd | |
- name: Archive build results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: viewer | |
path: ./build/Release/* |