Skip to content

Commit

Permalink
chore: speed up ci
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Feb 1, 2024
1 parent 3cd33c8 commit 23b3059
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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}}
Expand All @@ -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}}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-qt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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)
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 23b3059

Please sign in to comment.