mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-30 05:02:52 +08:00
f172bd8d3a
testing
44 lines
966 B
YAML
44 lines
966 B
YAML
# base code from https://github.com/jaredtao/HelloActions-Qt
|
|
# windows.yml
|
|
|
|
name: Windows
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'README.md'
|
|
- 'README.ko.md'
|
|
- 'LICENSE'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'README.md'
|
|
- 'README.ko.md'
|
|
- 'LICENSE'
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-2016]
|
|
qt_ver: [5.12.6]
|
|
qt_target: [desktop]
|
|
steps:
|
|
- name: Install Qt
|
|
uses: jurplel/install-qt-action@v2.0.0
|
|
with:
|
|
version: ${{ matrix.qt_ver }}
|
|
target: ${{ matrix.qt_target }}
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
fetch-depth: 1
|
|
- name: build
|
|
run: |
|
|
cd TestExcel
|
|
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
|
dir %Qt5_Dir%/lib/cmake
|
|
qmake
|
|
nmake
|
|
shell: cmd
|
|
|
|
|