mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-16 04:42:53 +08:00
Update build.yml
This commit is contained in:
parent
7c69d3b8c5
commit
fb66ed747c
37
.github/workflows/build.yml
vendored
37
.github/workflows/build.yml
vendored
@ -1,34 +1,19 @@
|
||||
name: C/C++ CI
|
||||
name: QXlsx Workflow
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-2019
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Prepare
|
||||
working-directory: build
|
||||
run: |
|
||||
curl -vLo qt-unified-windows-x86-online.exe http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe
|
||||
qt-unified-windows-x86-online.exe --verbose --script ..\ci\qt.qs
|
||||
- name: Configure
|
||||
working-directory: build
|
||||
run: cmake -DCPACK_IFW_ROOT=Qt/Tools/QtInstallerFramework/3.1 -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" ..
|
||||
- name: Compile
|
||||
working-directory: build
|
||||
run:
|
||||
cd QXlsx
|
||||
qmake QXlsx.pro
|
||||
nmake
|
||||
- name: Test
|
||||
working-directory: build
|
||||
- name: install qt
|
||||
uses: actions/install-qt-action@v0.1.1
|
||||
with:
|
||||
packages: 'qt.qt5.5124.gcc_64, qt.qt5.5124.android_arm64_v8a'
|
||||
- name: Test qmake
|
||||
run:
|
||||
cd TestExcel
|
||||
qmake TestExcel.pro
|
||||
nmake
|
||||
|
||||
|
||||
cd QXlsx
|
||||
/Qt/5.12.4/gcc_64/bin/qmake QXlsx.pro
|
||||
make
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user