mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-04 12:03:41 +02:00
.github/workflows/ci.yml: Build GUI
This commit is contained in:
parent
40ddff41db
commit
0d44bbc8f6
1 changed files with 18 additions and 2 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
|
@ -12,7 +12,12 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-16.04, ubuntu-18.04, macos-latest, windows-latest ]
|
os: [ ubuntu-16.04, ubuntu-18.04, macos-latest, windows-latest ]
|
||||||
build-opts: [ "-DFORCE_ANSI=ON", "-DFORCE_ANSI=OFF" ]
|
build-opts: [
|
||||||
|
-DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=ON,
|
||||||
|
-DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=OFF,
|
||||||
|
-DBUILD_COMPONENT_CLI=OFF -DBUILD_COMPONENT_GUI=ON
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
name: ${{matrix.os}} (${{matrix.build-opts}})
|
name: ${{matrix.os}} (${{matrix.build-opts}})
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
|
|
@ -20,13 +25,24 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Dependancies
|
- name: OpenSSL
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||||
brew install openssl
|
brew install openssl
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Qt - Ubuntu
|
||||||
|
if: contains(matrix.build-opts, '-DBUILD_COMPONENT_GUI=ON') && runner.os == 'Linux'
|
||||||
|
shell: bash
|
||||||
|
run: sudo apt-get install qt5-default
|
||||||
|
|
||||||
|
- name: Qt - Windows/Mac
|
||||||
|
if: contains(matrix.build-opts, '-DBUILD_COMPONENT_GUI=ON') && runner.os != 'Linux'
|
||||||
|
uses: jurplel/install-qt-action@v2
|
||||||
|
with:
|
||||||
|
version: '5.9'
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue