Added new system dependencies for Linux CI regarding vcpkg. #324
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: Windows build & tests | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
BUILD_TYPE: Release # Change build type here. | |
jobs: | |
build: | |
runs-on: windows-latest # Change Windows version here. | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: 6.2.4 # Update Qt version here. | |
aqtversion: '>=0.9.7' | |
modules: 'qtimageformats' | |
- name: Install boost | |
uses: MarkusJx/[email protected] | |
id: install-boost | |
with: | |
boost_version: 1.72.0 # Update Boost version here. | |
- name: Build | |
shell: bash | |
run: | | |
cd build | |
cmake .. -A x64 | |
cmake --build . --config $BUILD_TYPE --target Degate | |
env: | |
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} | |
- name: Tests | |
shell: bash | |
run: | | |
cd build | |
cmake --build . --config $BUILD_TYPE --target DegateTests | |
cd tests/out/bin/$BUILD_TYPE | |
$Qt6_DIR/bin/windeployqt.exe ./ | |
./DegateTests.exe |