aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/release-deb-package.yml (renamed from .github/workflows/release-linux-package.yml)18
1 files changed, 5 insertions, 13 deletions
diff --git a/.github/workflows/release-linux-package.yml b/.github/workflows/release-deb-package.yml
index adbae8e6..6804aed8 100644
--- a/.github/workflows/release-linux-package.yml
+++ b/.github/workflows/release-deb-package.yml
@@ -23,7 +23,7 @@ jobs:
build:
strategy:
matrix:
- os: [ 'ubuntu-18.04' ]
+ os: [ 'ubuntu-18.04', 'ubuntu-20.04' ]
runs-on: ${{ matrix.os }}
steps:
@@ -48,7 +48,6 @@ jobs:
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 8
sudo update-alternatives --set gcc "/usr/bin/gcc-8"
sudo update-alternatives --set g++ "/usr/bin/g++-8"
- if: matrix.os == 'ubuntu-18.04'
- name: Cache Qt
id: cache-qt
@@ -56,14 +55,12 @@ jobs:
with:
path: ../Qt
key: ${{ runner.os }}-QtCache-5.12.8
- if: matrix.os == 'ubuntu-18.04'
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
version: '5.12.8'
- if: matrix.os == 'ubuntu-18.04'
- name: Build gpg-error
run: |
@@ -72,7 +69,6 @@ jobs:
./configure --enable-maintainer-mode --enable-static=yes && make -j2
sudo make install
cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-18.04'
- name: Build assuan
run: |
@@ -81,7 +77,6 @@ jobs:
./configure --enable-maintainer-mode --enable-static=yes && make -j2
sudo make install
cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-18.04'
- name: Build GpgME
run: |
@@ -90,21 +85,18 @@ jobs:
./configure --enable-maintainer-mode --enable-static=yes --enable-languages=cpp && make -j2
sudo make install
cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-18.04'
- name: Build & Package GpgFrontend (Linux DEB Package)
# Build your program with the given configuration
run: |
- cmake -B ${{github.workspace}}/build-deb -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_BUILD_TYPE="Release" -DGENERATE_LINUX_INSTALL_SOFTWARE=ON
- cmake --build ${{github.workspace}}/build-deb --config {{$env.BUILD_TYPE}} -- -j 2
- cd ${{github.workspace}}/build-deb
+ cmake -B ${{github.workspace}}/build-deb-${{matrix.os}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_BUILD_TYPE="Release" -DGENERATE_LINUX_INSTALL_SOFTWARE=ON
+ cmake --build ${{github.workspace}}/build-deb-${{matrix.os}} --config {{$env.BUILD_TYPE}} -- -j 2
+ cd ${{github.workspace}}/build-deb-${{matrix.os}}
make package
cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-18.04'
- name: Upload Artifact(Linux DEB)
uses: actions/upload-artifact@master
with:
- name: gpgfrontend-${{matrix.os}}-${{env.BUILD_TYPE}}-${{steps.vars.outputs.sha_short}}-deb
+ name: gpgfrontend-${{matrix.os}}-${{env.BUILD_TYPE}}-${{steps.vars.outputs.sha_short}}-deb-${{matrix.os}}
path: ${{github.workspace}}/build-deb/gpgfrontend*.deb*
- if: matrix.os == 'ubuntu-18.04'