mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-03 11:53:41 +02:00
.github/workflows/package.yml: build both cli and gui on ubuntu.
This commit is contained in:
parent
63c7212fad
commit
8b8ba4c2c6
1 changed files with 14 additions and 3 deletions
17
.github/workflows/package.yml
vendored
17
.github/workflows/package.yml
vendored
|
|
@ -10,16 +10,27 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-16.04, ubuntu-18.04 ]
|
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}}
|
runs-on: ${{matrix.os}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Qt
|
||||||
|
if: startsWith(matrix.component, 'gui')
|
||||||
|
shell: bash
|
||||||
|
run: sudo apt-get install qt5-default
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
id: package
|
id: package
|
||||||
run: |
|
run: |
|
||||||
./build.sh -t Release --pkg-type deb
|
./build.sh ${{matrix.build-opts}}
|
||||||
FILE=$(ls build/*.deb | head -1)
|
FILE=$(ls build/eosio-*.deb | head -1)
|
||||||
echo "::set-output name=filename::$FILE"
|
echo "::set-output name=filename::$FILE"
|
||||||
echo "::set-output name=name::$(basename $FILE)"
|
echo "::set-output name=name::$(basename $FILE)"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue