aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-02-01 07:24:26 +0000
committersaturneric <[email protected]>2024-02-01 07:24:26 +0000
commit23b3059774804a4fe5756f7c16ba87155d4c096f (patch)
tree077d4cd5d515bb2f916e0c896b2e7de39b2da215
parentfix: gpgme 1.23.2 has problem on windows and back to 1.22 (diff)
downloadGpgFrontend-23b3059774804a4fe5756f7c16ba87155d4c096f.tar.gz
GpgFrontend-23b3059774804a4fe5756f7c16ba87155d4c096f.zip
chore: speed up ci
-rw-r--r--.github/workflows/codeql-analysis.yml6
-rw-r--r--.github/workflows/release-qt5.yml8
-rw-r--r--.github/workflows/release.yml14
3 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index d0e9c778..ad6e41db 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -72,7 +72,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
sudo make install
cd ${{github.workspace}}
@@ -81,7 +81,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
sudo make install
cd ${{github.workspace}}
@@ -90,7 +90,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode --enable-languages=cpp && make -j4
sudo make install
cd ${{github.workspace}}
diff --git a/.github/workflows/release-qt5.yml b/.github/workflows/release-qt5.yml
index a3106dd5..a3cc7f12 100644
--- a/.github/workflows/release-qt5.yml
+++ b/.github/workflows/release-qt5.yml
@@ -64,7 +64,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'
@@ -75,7 +75,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'
@@ -86,7 +86,7 @@ jobs:
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 --disable-gpg-test && make -j2
+ ./configure --enable-maintainer-mode --enable-languages=cpp --disable-gpg-test && make -j4
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'
@@ -98,7 +98,7 @@ jobs:
mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON -DGPGFRONTEND_QT5_BUILD=ON ..
# Build your program with the given configuration
- cmake --build . --config ${{env.BUILD_TYPE}} -- -j 2
+ cmake --build . --config ${{env.BUILD_TYPE}} -- -j 4
if: matrix.os == 'windows-2019'
- name: Upload Artifact(Windows)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7fbaa05c..c7cb5085 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -110,7 +110,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
@@ -121,7 +121,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'
@@ -131,7 +131,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
@@ -142,7 +142,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode && make -j4
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'
@@ -152,7 +152,7 @@ jobs:
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 --disable-gpg-test && make -j2
+ ./configure --enable-maintainer-mode --enable-languages=cpp --disable-gpg-test && make -j4
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
@@ -163,7 +163,7 @@ jobs:
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
+ ./configure --enable-maintainer-mode --enable-languages=cpp && make -j4
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'
@@ -235,7 +235,7 @@ jobs:
mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON ..
# Build your program with the given configuration
- cmake --build . --config ${{env.BUILD_TYPE}} -- -j 2
+ cmake --build . --config ${{env.BUILD_TYPE}} -- -j 4
if: matrix.os == 'windows-2019'
- name: Upload Artifact(Linux)