1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-30 05:02:52 +08:00
QXlsx/.github/workflows/build.yml
2019-12-11 21:59:28 +09:00

38 lines
890 B
YAML

name: Test Installing Qt
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Install Qt
uses: ./
with:
modules: qtcharts qtwebengine
- name: Configure test project on windows
if: startsWith(matrix.os, 'windows')
run: |
cd QXlsx
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
dir %Qt5_Dir%/lib/cmake
qmake QXlsx.pro
nmake
shell: cmd
- name: Configure test project on unix
if: (!startsWith(matrix.os, 'windows'))
run: |
cd QXlsx
ls $Qt5_Dir/lib/cmake
qmake QXlsx.pro
make
shell: bash