aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-12-01 03:09:10 +0000
committersaturneric <[email protected]>2024-12-01 03:09:10 +0000
commitf98e919dcdafdb6bf21cd9954be6b705f9a82e39 (patch)
tree3d918e931078877a4c63ce6204d08a4615dfa863 /.github
parentfeat: update release ci config and remove macos-12 (diff)
downloadGpgFrontend-f98e919dcdafdb6bf21cd9954be6b705f9a82e39.tar.gz
GpgFrontend-f98e919dcdafdb6bf21cd9954be6b705f9a82e39.zip
feat: adjust gpg related libs version and speed up devops build on windows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release-qt5.yml75
-rw-r--r--.github/workflows/release.yml73
-rw-r--r--.github/workflows/testing-nightly.yml8
3 files changed, 60 insertions, 96 deletions
diff --git a/.github/workflows/release-qt5.yml b/.github/workflows/release-qt5.yml
index 0d84a119..e41a20b5 100644
--- a/.github/workflows/release-qt5.yml
+++ b/.github/workflows/release-qt5.yml
@@ -71,14 +71,32 @@ jobs:
release: false
if: matrix.os == 'windows-2019'
- - 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 automake
- pacman --noconfirm -S --needed mingw-w64-x86_64-qt5 mingw-w64-x86_64-angleproject libintl msys2-runtime-devel gettext-devel
- pacman --noconfirm -S --needed mingw-w64-x86_64-ninja mingw-w64-x86_64-gnupg mingw-w64-x86_64-libarchive
- pacman --noconfirm -S --needed mingw-w64-x86_64-gtest
+ - name: Set up MinGW (Windows)
+ uses: msys2/setup-msys2@v2
+ with:
+ update: true
+ release: false
+ cache: true
+ install: >-
+ git
+ msys2-devel
+ base-devel
+ binutils
+ zip
+ unzip
+ libintl
+ msys2-runtime-devel
+ mingw-w64-x86_64-toolchain
+ mingw-w64-x86_64-gcc
+ mingw-w64-x86_64-make
+ mingw-w64-x86_64-cmake
+ mingw-w64-x86_64-qt5
+ mingw-w64-x86_64-angleproject
+ mingw-w64-x86_64-ninja
+ mingw-w64-x86_64-gnupg
+ mingw-w64-x86_64-gpgme
+ mingw-w64-x86_64-libarchive
+ mingw-w64-x86_64-gtest
if: matrix.os == 'windows-2019'
- name: Install Dependence (Linux)
@@ -100,20 +118,9 @@ jobs:
cache: "true"
if: matrix.os == 'ubuntu-20.04'
- - name: Build gpg-error (Windows)
- shell: msys2 {0}
- 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 -j4
- make install
- cd ${{github.workspace}}
- if: matrix.os == 'windows-2019'
-
- 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
+ git clone --depth 1 --branch libgpg-error-1.51 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 -j4
@@ -121,20 +128,9 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
- - name: Build assuan (Windows)
- shell: msys2 {0}
- 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 -j4
- make install
- cd ${{github.workspace}}
- if: matrix.os == 'windows-2019'
-
- 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
+ git clone --depth 1 --branch libassuan-2.5.7 git://git.gnupg.org/libassuan.git ${{github.workspace}}/third_party/libassuan
cd ${{github.workspace}}/third_party/libassuan
./autogen.sh
./configure --enable-maintainer-mode && make -j4
@@ -142,20 +138,9 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
- - name: Build GpgME (Windows)
- shell: msys2 {0}
- run: |
- git clone --depth 1 --branch fix/1.18.0 https://git.bktus.com/GpgFrontend/gpgme.git ${{github.workspace}}/third_party/gpgme
- cd ${{github.workspace}}/third_party/gpgme
- ./autogen.sh
- ./configure --enable-maintainer-mode --enable-languages=cpp --disable-gpg-test && make -j4
- make install
- cd ${{github.workspace}}
- if: matrix.os == 'windows-2019'
-
- name: Build GpgME (Linux)
run: |
- git clone --depth 1 --branch gpgme-1.22.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme
+ git clone --depth 1 --branch gpgme-1.23.2 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 -j4
@@ -165,7 +150,7 @@ jobs:
- name: Build googletest (Linux)
run: |
- git clone --depth 1 --branch v1.15.0 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest
+ git clone --depth 1 --branch v1.15.2 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest
cd ${{github.workspace}}/third_party/googletest
mkdir build && cd build
cmake -G Ninja -DBUILD_SHARED_LIBS=ON ..
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d2011e6d..c5d142e8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -114,23 +114,34 @@ jobs:
- name: Set up MinGW (Windows)
uses: msys2/setup-msys2@v2
with:
- install: git msys2-devel base-devel binutils mingw-w64-x86_64-toolchain
+ update: true
release: false
- if: matrix.os == 'windows-2019'
-
- - 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 automake
- pacman --noconfirm -S --needed mingw-w64-x86_64-qt6 mingw-w64-x86_64-icu libintl msys2-runtime-devel gettext-devel
- pacman --noconfirm -S --needed mingw-w64-x86_64-ninja mingw-w64-x86_64-gnupg mingw-w64-x86_64-libarchive
- pacman --noconfirm -S --needed mingw-w64-x86_64-gtest
+ cache: true
+ install: >-
+ git
+ msys2-devel
+ base-devel
+ binutils
+ zip
+ unzip
+ libintl
+ msys2-runtime-devel
+ mingw-w64-x86_64-toolchain
+ mingw-w64-x86_64-gcc
+ mingw-w64-x86_64-make
+ mingw-w64-x86_64-cmake
+ mingw-w64-x86_64-qt6
+ mingw-w64-x86_64-icu
+ mingw-w64-x86_64-ninja
+ mingw-w64-x86_64-gnupg
+ mingw-w64-x86_64-gpgme
+ mingw-w64-x86_64-libarchive
+ mingw-w64-x86_64-gtest
if: matrix.os == 'windows-2019'
- 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
+ git clone --depth 1 --branch libgpg-error-1.51 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 -j4
@@ -138,20 +149,9 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
- - name: Build gpg-error (Windows)
- shell: msys2 {0}
- 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 -j4
- make install
- cd ${{github.workspace}}
- if: matrix.os == 'windows-2019'
-
- 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
+ git clone --depth 1 --branch libassuan-2.5.7 git://git.gnupg.org/libassuan.git ${{github.workspace}}/third_party/libassuan
cd ${{github.workspace}}/third_party/libassuan
./autogen.sh
./configure --enable-maintainer-mode && make -j4
@@ -159,20 +159,9 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
- - name: Build assuan (Windows)
- shell: msys2 {0}
- 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 -j4
- make install
- cd ${{github.workspace}}
- if: matrix.os == 'windows-2019'
-
- name: Build GpgME (Linux)
run: |
- git clone --depth 1 --branch gpgme-1.22.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme
+ git clone --depth 1 --branch gpgme-1.23.2 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 -j4
@@ -180,19 +169,9 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
- - name: Build GpgME (Windows)
- shell: msys2 {0}
- run: |
- git clone --depth 1 --branch fix/1.18.0 https://git.bktus.com/GpgFrontend/gpgme.git ${{github.workspace}}/third_party/gpgme
- cd ${{github.workspace}}/third_party/gpgme
- ./autogen.sh
- ./configure --enable-maintainer-mode --enable-languages=cpp --disable-gpg-test && make -j4
- make install
- if: matrix.os == 'windows-2019'
-
- name: Build googletest (Linux)
run: |
- git clone --depth 1 --branch v1.15.0 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest
+ git clone --depth 1 --branch v1.15.2 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest
cd ${{github.workspace}}/third_party/googletest
mkdir build && cd build
cmake -G Ninja -DBUILD_SHARED_LIBS=ON ..
diff --git a/.github/workflows/testing-nightly.yml b/.github/workflows/testing-nightly.yml
index dbe4fd05..fba4eac3 100644
--- a/.github/workflows/testing-nightly.yml
+++ b/.github/workflows/testing-nightly.yml
@@ -134,7 +134,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
+ git clone --depth 1 --branch libgpg-error-1.51 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 -j4
@@ -144,7 +144,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
+ git clone --depth 1 --branch libassuan-2.5.7 git://git.gnupg.org/libassuan.git ${{github.workspace}}/third_party/libassuan
cd ${{github.workspace}}/third_party/libassuan
./autogen.sh
./configure --enable-maintainer-mode && make -j4
@@ -154,7 +154,7 @@ jobs:
- name: Build GpgME (Linux)
run: |
- git clone --depth 1 --branch gpgme-1.22.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme
+ git clone --depth 1 --branch gpgme-1.23.2 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 -j4
@@ -164,7 +164,7 @@ jobs:
- name: Build googletest (Linux)
run: |
- git clone --depth 1 --branch v1.15.0 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest
+ git clone --depth 1 --branch v1.15.2 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest
cd ${{github.workspace}}/third_party/googletest
mkdir build && cd build
cmake -G Ninja -DBUILD_SHARED_LIBS=ON ..