diff options
Diffstat (limited to '.gitea/workflows/develop-qt6.yml')
-rw-r--r-- | .gitea/workflows/develop-qt6.yml | 45 |
1 files changed, 35 insertions, 10 deletions
diff --git a/.gitea/workflows/develop-qt6.yml b/.gitea/workflows/develop-qt6.yml index a385f2fb..34c3a894 100644 --- a/.gitea/workflows/develop-qt6.yml +++ b/.gitea/workflows/develop-qt6.yml @@ -1,19 +1,44 @@ +# Copyright (C) 2021-2024 Saturneric <[email protected]> +# +# This file is part of GpgFrontend. +# +# GpgFrontend is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# GpgFrontend is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GpgFrontend. If not, see <https://www.gnu.org/licenses/>. +# +# The initial version of the source code is inherited from +# the gpg4usb project, which is under GPL-3.0-or-later. +# +# All the source code of GpgFrontend was modified and released by +# Saturneric <[email protected]> starting on May 12, 2021. +# +# SPDX-License-Identifier: GPL-3.0-or-later + name: Develop CI Qt6 on: push: - branches: [ main, 'develop', 'dev/**' ] + branches: [main, develop, "dev/**"] paths-ignore: - - 'resource/lfs/locale/**' - - '**.md' + - "resource/lfs/locale/**" + - "**.md" pull_request: - branches: [ main, 'develop', 'dev/**' ] + branches: [main, develop, "dev/**"] paths-ignore: - - 'resource/lfs/locale/**' - - '**.md' + - "resource/lfs/locale/**" + - "**.md" env: - BUILD_TYPE: Release + BUILD_TYPE: Debug jobs: build: @@ -21,7 +46,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - lfs: 'false' + lfs: "false" submodules: recursive - name: Get Short SHA of Commit @@ -45,7 +70,7 @@ jobs: ninja sudo ninja install - - name: Build & Install Full SDK + - name: Build & Install Full SDK run: | cmake -B ${{github.workspace}}/build-full-sdk -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_FULL_SDK=ON cmake --build ${{github.workspace}}/build-full-sdk --config {{$env.BUILD_TYPE}} -- -v @@ -56,7 +81,7 @@ jobs: cmake -S ${{github.workspace}}/modules -B ${{github.workspace}}/modules/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/modules/build/artifacts cmake --build ${{github.workspace}}/modules/build --config {{$env.BUILD_TYPE}} -- -v cmake --install ${{github.workspace}}/modules/build --config {{$env.BUILD_TYPE}} - + - name: Build GpgFrontend run: | cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DDGPGFRONTEND_BUILD_TYPE_ONLY_APPLICATION=ON |