aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/debug.yml162
-rw-r--r--.github/workflows/release.yml5
-rw-r--r--.gitmodules9
m---------third_party/gpgme0
m---------third_party/libassuan0
m---------third_party/libgpg-error0
6 files changed, 4 insertions, 172 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
deleted file mode 100644
index 6985d60b..00000000
--- a/.github/workflows/debug.yml
+++ /dev/null
@@ -1,162 +0,0 @@
-name: Debug Build & Package
-
-on:
- push:
- branches: [ 'develop', 'dev/**' ]
- paths-ignore:
- - 'resource/locale/template/**'
- - 'manual/**'
- - '**.md'
- pull_request:
- branches: [ 'develop', 'dev/**' ]
- paths-ignore:
- - 'resource/locale/template/**'
- - 'manual/**'
- - '**.md'
-
-env:
- # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
- BUILD_TYPE: Debug
- EXECUTABLE_OUTPUT_PATH: ./
-
-jobs:
- build:
- strategy:
- matrix:
- os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
- runs-on: ${{ matrix.os }}
- continue-on-error: true
- steps:
-
- - name: Set git to use LF(Windows) or CRLF(MacOS) line endings
- run: |
- git config --global core.autocrlf false
- git config --global core.eol lf
- if: matrix.os == 'windows-latest' || matrix.os == 'macos-11' || matrix.os == 'macos-12'
-
- - uses: actions/checkout@v3
- with:
- lfs: 'false'
- submodules: recursive
-
- - name: Install Dependence (Linux)
- run: |
- sudo apt-get update
- sudo apt-get -y install build-essential binutils git autoconf automake gettext texinfo
- sudo apt-get -y install gcc g++ ninja-build
- sudo apt-get -y install libarchive-dev libconfig++-dev libboost-all-dev libssl-dev
- sudo apt-get -y install gpg
- if: matrix.os == 'ubuntu-latest'
-
- - name: Git Sumbodule Update
- run: |
- git submodule update --init --recursive
-
- - name: Install Dependence (macOS)
- run: |
- brew install cmake autoconf automake texinfo gettext openssl@3
- brew install boost ninja libarchive libconfig gpgme
- brew unlink gettext && brew link --force gettext
- brew link openssl@3 --force
- if: matrix.os == 'macos-11' || matrix.os == 'macos-12'
-
- - name: Build gpg-error (Linux)
- run: |
- cd ${{github.workspace}}/third_party/libgpg-error
- ./autogen.sh
- ./configure --enable-maintainer-mode && make -j2
- sudo make install
- cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-latest'
-
- - name: Build assuan (Linux)
- run: |
- cd ${{github.workspace}}/third_party/libassuan
- ./autogen.sh
- ./configure --enable-maintainer-mode && make -j2
- sudo make install
- cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-latest'
-
- - name: Build GpgME (Linux)
- run: |
- cd ${{github.workspace}}/third_party/gpgme
- ./autogen.sh
- ./configure --enable-maintainer-mode --enable-languages=cpp && make -j2
- sudo make install
- cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-latest'
-
- - name: Install Qt
- uses: jurplel/install-qt-action@v3
- with:
- version: '6.4.3'
- cache: 'true'
- modules: 'qt5compat'
- if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-11' || matrix.os == 'macos-12'
-
- - name: Set up MinGW (Windows)
- uses: msys2/setup-msys2@v2
- with:
- install: git msys2-devel base-devel binutils mingw-w64-x86_64-toolchain
- release: false
- if: matrix.os == 'windows-latest'
-
- - name: Set up Dependence (Windows)
- shell: msys2 {0}
- run: |
- pacman --noconfirm -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake autoconf
- pacman --noconfirm -S --needed make texinfo mingw-w64-x86_64-libconfig mingw-w64-x86_64-boost automake
- pacman --noconfirm -S --needed mingw-w64-x86_64-qt6 libintl msys2-runtime-devel gettext-devel
- pacman --noconfirm -S --needed mingw-w64-x86_64-ninja mingw-w64-x86_64-gnupg mingw-w64-x86_64-gpgme
- pacman --noconfirm -S --needed mingw-w64-x86_64-libarchive mingw-w64-x86_64-icu mingw-w64-x86_64-icu-debug-libs
- if: matrix.os == 'windows-latest'
-
- - name: Build GpgFrontend (Linux)
- # Build your GpgFrontend with the given configuration
- run: |
- cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON
- cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v
- if: matrix.os == 'ubuntu-latest'
-
- - name: Build GpgFrontend (macOS)
- # Build your GpgFrontend with the given configuration
- run: |
- cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON
- cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v
- if: matrix.os == 'macos-11' || matrix.os == 'macos-12'
-
- - name: Configure CMake & Build Binary(Windows)
- shell: msys2 {0}
- run: |
- cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
- mkdir build && cd build
- cmake -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON ..
- # Build your program with the given configuration
- cmake --build . --config ${{env.BUILD_TYPE}} -- -j 2
- if: matrix.os == 'windows-latest'
-
- - name: Get Short SHA of Commit
- id: vars
- run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
-
- - name: Upload Artifact(Linux)
- uses: actions/upload-artifact@master
- with:
- name: gpgfrontend-${{matrix.os}}-${{env.BUILD_TYPE}}-${{env.sha_short}}
- path: ${{github.workspace}}/build/release/*
- if: matrix.os == 'ubuntu-latest'
-
- - name: Upload Artifact(macOS)
- uses: actions/upload-artifact@master
- with:
- name: gpgfrontend-${{matrix.os}}-${{env.BUILD_TYPE}}-${{env.sha_short}}
- path: ${{github.workspace}}/build/release/*
- if: matrix.os == 'macos-11' || matrix.os == 'macos-12'
-
- - name: Upload Artifact(Windows)
- uses: actions/upload-artifact@master
- with:
- name: gpgfrontend-${{matrix.os}}-${{env.BUILD_TYPE}}-${{env.sha_short}}
- path: ${{github.workspace}}/build/release/*
- if: matrix.os == 'windows-latest'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fb3c0003..ad181629 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -113,6 +113,7 @@ jobs:
- name: Build gpg-error (Linux)
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
./autogen.sh
./configure --enable-maintainer-mode && make -j2
@@ -122,6 +123,7 @@ jobs:
- name: Build assuan (Linux)
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
./autogen.sh
./configure --enable-maintainer-mode && make -j2
@@ -131,7 +133,8 @@ jobs:
- name: Build GpgME (Linux)
run: |
- cd ${{github.workspace}}/third_party/gpgme
+ 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
./autogen.sh
./configure --enable-maintainer-mode --enable-languages=cpp && make -j2
sudo make install
diff --git a/.gitmodules b/.gitmodules
index dc991643..1c05e529 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,12 +1,3 @@
-[submodule "third_party/gpgme"]
- path = third_party/gpgme
- url = https://github.com/gpg/gpgme.git
-[submodule "third_party/libassuan"]
- path = third_party/libassuan
- url = https://github.com/gpg/libassuan.git
-[submodule "third_party/libgpg-error"]
- path = third_party/libgpg-error
- url = https://github.com/gpg/libgpg-error.git
[submodule "third_party/json"]
path = third_party/json
url = https://github.com/nlohmann/json.git
diff --git a/third_party/gpgme b/third_party/gpgme
deleted file mode 160000
-Subproject 64da77620a451653e9b8c41bb0c9e58e2296712
diff --git a/third_party/libassuan b/third_party/libassuan
deleted file mode 160000
-Subproject e4e54fb4ba1b82f1cd08ea44ad4c48db4c23631
diff --git a/third_party/libgpg-error b/third_party/libgpg-error
deleted file mode 160000
-Subproject 885a287a57cf060b4c5b441822c09d23b8dee2b