mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-30 05:02:52 +08:00
Add nightly CI checks
This commit is contained in:
parent
1c7e6cae95
commit
fb6fcf1350
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: true
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
@ -58,7 +58,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Install Qt with options and default aqtversion
|
||||
uses: jurplel/install-qt-action@v3
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
aqtversion: null # use whatever the default is
|
||||
modules: ${{ matrix.config.modules }}
|
||||
|
46
.github/workflows/nightly.yml
vendored
Normal file
46
.github/workflows/nightly.yml
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
name: CI Nightly
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
schedule:
|
||||
- cron: '0 3 * * *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
|
||||
config:
|
||||
- name: clang-tidy
|
||||
cmake_arg: '-DCMAKE_CXX_CLANG_TIDY=clang-tidy'
|
||||
qt_version: "6.7.3"
|
||||
|
||||
- name: clazy
|
||||
cmake_arg: '-DCMAKE_CXX_COMPILER=clazy'
|
||||
qt_version: "6.7.3"
|
||||
|
||||
steps:
|
||||
- name: Install Qt ${{ matrix.config.qt_version }} with options and default aqtversion
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
version: ${{ matrix.config.qt_version }}
|
||||
cache: true
|
||||
|
||||
- name: Install ninja-build tool (must be after Qt due PATH changes)
|
||||
uses: turtlesec-no/get-ninja@main
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Configure project
|
||||
run: >
|
||||
cmake -S . -B ./build -G Ninja ${{ matrix.config.cmake_arg }}
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
--warn-uninitialized -Werror=dev
|
||||
|
||||
- name: Build Project
|
||||
run: cmake --build ./build
|
Loading…
x
Reference in New Issue
Block a user