1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-07-04 12:03:41 +02:00

.github/workflows/package.yml: Build package for Ubuntu 20.04

This commit is contained in:
Henrik Hautakoski 2021-02-24 14:17:30 +01:00
parent 145769970f
commit 09e287733c

View file

@ -9,21 +9,27 @@ jobs:
ubuntu: ubuntu:
strategy: strategy:
matrix: matrix:
os: [ ubuntu-18.04, ubuntu-20.04 ]
component: [ cli, gui ] component: [ cli, gui ]
include: include:
- component: cli - component: cli
build-opts: --cli --no-gui -t Release --pkg-type deb build-opts: --cli --no-gui -t Release --pkg-type deb
- component: gui - component: gui
build-opts: --no-cli --gui -t Release --pkg-type deb build-opts: --no-cli --gui -t Release --pkg-type deb
name: Ubuntu (${{matrix.component}}) name: ${{matrix.os}} (${{matrix.component}})
runs-on: ubuntu-18.04 runs-on: ${{matrix.os}}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Qt - name: Qt
if: startsWith(matrix.component, 'gui') if: startsWith(matrix.component, 'gui')
shell: bash shell: bash
run: sudo apt-get install qt5-default=5.9.5+dfsg-0ubuntu2.5 run: |
if [ "${{matrix.os}}" == "ubuntu-20.04" ]; then
sudo apt-get install qt5-default=5.12.8+dfsg-0ubuntu1
else :
sudo apt-get install qt5-default=5.9.5+dfsg-0ubuntu2.5
fi
- name: Package - name: Package
id: package id: package