diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7a4e7b52..a8b46880 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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 }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 00000000..ce63417c --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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