Skip to content

Fix protobuf parser #781

Fix protobuf parser

Fix protobuf parser #781

Workflow file for this run

name: windows
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, closed]
jobs:
windows-build:
runs-on: ${{ matrix.windows-version }}
strategy:
fail-fast: false
matrix:
windows-version:
- 'windows-latest'
env:
CXXFLAGS: /MP
steps:
- name: Sync repository
uses: actions/checkout@v4
- name: Install Conan
uses: turtlebrowser/get-conan@main
- name: Cache Qt and Conan
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/qt_installation/
~/.conan2/
key: ${{ runner.os }}-${{ hashFiles('**/qt_installation/**', '**/conanfile.txt') }}
restore-keys: ${{ runner.os }}-
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '5.15.2'
arch: 'win64_msvc2019_64'
dir: '${{ github.workspace }}/qt_installation/'
cache: 'true'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Conan install
shell: pwsh
run: |
conan profile detect
conan install . -of build --build=missing -pr:b=default -s build_type=Release
- name: Build Plotjuggler
shell: pwsh
run: |
cmake --preset conan-default -B build -DBUILDING_WITH_CONAN=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release .
cmake --build build --config Release --target install