Skip to content

wip

wip #41

on:
workflow_dispatch:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
branches:
- "**"
jobs:
build:
runs-on: windows-latest
steps:
- name: Cache Qt
id: cache-qt
uses: actions/cache@v4
with:
path: ../Qt
key: ${{ runner.os }}-QtCache
- name: Install python packages
shell: bash
run: python -m pip install jinja2 aqtinstall
- name: Install Qt
shell: bash
run: aqt install-qt -O ../Qt windows desktop 6.8.2 -m qt3d qtshadertools
- name: Install zip
shell: bash
run: choco install -y zip
- name: Install ortools
shell: bash
run: |
C:/msys64/usr/bin/wget.exe https://github.com/google/or-tools/releases/download/v9.10/or-tools_x64_VisualStudio2022_cpp_v9.10.4067.zip
unzip or-tools_x64_VisualStudio2022_cpp_v9.10.4067.zip -d ../
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: CMake
shell: bash
run: |
cmake -B build -DBUILD_TESTING=OFF -DQt6_DIR=../Qt/6.8.2/win64_msvc2019_64/lib/cmake/Qt6 -Dortools_DIR=../or-tools_x64_VisualStudio2022_cpp_v9.10.4067/lib/cmake/ortools
- name: Build
run: cmake --build build --config Release
- name: Deploy Qt
shell: bash
run: ci/deploywindows.sh
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: "dxfplotter*.zip"