diff options
author | saturneric <[email protected]> | 2024-11-22 08:49:05 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-22 08:49:05 +0000 |
commit | 5c8eadade53fcdd5703b0ac7c1fad616f9aa5790 (patch) | |
tree | eb45785d25943ea69e9b3ae694fa49cb11deaaf4 /.github | |
parent | feat: improve nightly and other workflows (diff) | |
download | GpgFrontend-5c8eadade53fcdd5703b0ac7c1fad616f9aa5790.tar.gz GpgFrontend-5c8eadade53fcdd5703b0ac7c1fad616f9aa5790.zip |
fix: clean up files
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 56 | ||||
-rw-r--r-- | .github/workflows/doxygen-genration.yml | 33 | ||||
-rw-r--r-- | .github/workflows/release-qt5.yml | 25 | ||||
-rw-r--r-- | .github/workflows/release.yml | 25 | ||||
-rw-r--r-- | .github/workflows/testing-nightly.yml | 25 |
5 files changed, 139 insertions, 25 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1b4d37dc..028335b3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,23 +1,37 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. +# Copyright (C) 2021-2024 Saturneric <[email protected]> # -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. +# This file is part of GpgFrontend. # -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. +# 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: "CodeQL" on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] schedule: - - cron: '19 14 * * 2' + - cron: "19 14 * * 2" env: BUILD_TYPE: Debug @@ -34,15 +48,15 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'cpp' ] + language: ["cpp"] steps: - name: Checkout repository uses: actions/checkout@v4 with: - lfs: 'false' + lfs: "false" submodules: recursive - + - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: @@ -56,7 +70,7 @@ jobs: sudo apt-get -y install libarchive-dev libgpgme-dev sudo apt-get -y install gpg - - name: Build gpg-error (Linux) + - name: Build gpg-error run: | git clone --depth 1 --branch libgpg-error-1.47 git://git.gnupg.org/libgpg-error.git ${{github.workspace}}/third_party/libgpg-error cd ${{github.workspace}}/third_party/libgpg-error @@ -65,7 +79,7 @@ jobs: sudo make install cd ${{github.workspace}} - - name: Build assuan (Linux) + - name: Build assuan run: | git clone --depth 1 --branch libassuan-2.5.6 git://git.gnupg.org/libassuan.git ${{github.workspace}}/third_party/libassuan cd ${{github.workspace}}/third_party/libassuan @@ -74,7 +88,7 @@ jobs: sudo make install cd ${{github.workspace}} - - name: Build GpgME (Linux) + - name: Build GpgME run: | git clone --depth 1 --branch gpgme-1.22.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme cd ${{github.workspace}}/third_party/gpgme @@ -83,7 +97,7 @@ jobs: sudo make install cd ${{github.workspace}} - - name: Build googletest (Linux) + - name: Build googletest run: | git clone --depth 1 --branch v1.15.0 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest cd ${{github.workspace}}/third_party/googletest @@ -95,10 +109,10 @@ jobs: - name: Install Qt uses: jurplel/install-qt-action@v3 with: - version: '6.7.2' - cache: 'true' + version: "6.7.2" + cache: "true" - - name: Configure CMake && Build GpgFrontend + - name: Configure CMake && Build GpgFrontend run: | cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v diff --git a/.github/workflows/doxygen-genration.yml b/.github/workflows/doxygen-genration.yml index c23da8d2..112cc7a2 100644 --- a/.github/workflows/doxygen-genration.yml +++ b/.github/workflows/doxygen-genration.yml @@ -1,11 +1,36 @@ +# 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: Doxygen Generation on: push: - branches: [ main, 'develop' ] + branches: [main] paths-ignore: - - 'resource/lfs/locale/**' - - '**.md' + - "resource/lfs/locale/**" + - "**.md" jobs: build: @@ -22,4 +47,4 @@ jobs: message: | { "branch": "${{github.ref}}" - }
\ No newline at end of file + } diff --git a/.github/workflows/release-qt5.yml b/.github/workflows/release-qt5.yml index 43de5317..13583d48 100644 --- a/.github/workflows/release-qt5.yml +++ b/.github/workflows/release-qt5.yml @@ -1,3 +1,28 @@ +# 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: Build Release (Qt5) on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d28b3847..fae2bbec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,28 @@ +# 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: Build Release on: diff --git a/.github/workflows/testing-nightly.yml b/.github/workflows/testing-nightly.yml index 9a6df0bf..aabaaa35 100644 --- a/.github/workflows/testing-nightly.yml +++ b/.github/workflows/testing-nightly.yml @@ -1,3 +1,28 @@ +# 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: Build Nightly on: |