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

.github/workflows/package.yml: build both cli and gui on ubuntu.

This commit is contained in:
Henrik Hautakoski 2020-04-24 18:46:13 +02:00
parent 63c7212fad
commit 8b8ba4c2c6

View file

@ -10,16 +10,27 @@ jobs:
strategy:
matrix:
os: [ ubuntu-16.04, ubuntu-18.04 ]
name: ${{matrix.os}}
component: [ cli, gui ]
include:
- component: cli
build-opts: --cli --no-gui -t Release --pkg-type deb
- component: gui
build-opts: --no-cli --gui -t Release --pkg-type deb
name: ${{matrix.os}} (${{matrix.component}})
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Qt
if: startsWith(matrix.component, 'gui')
shell: bash
run: sudo apt-get install qt5-default
- name: Package
id: package
run: |
./build.sh -t Release --pkg-type deb
FILE=$(ls build/*.deb | head -1)
./build.sh ${{matrix.build-opts}}
FILE=$(ls build/eosio-*.deb | head -1)
echo "::set-output name=filename::$FILE"
echo "::set-output name=name::$(basename $FILE)"