mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +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:
|
||||
matrix:
|
||||
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}})
|
||||
runs-on: ${{matrix.os}}
|
||||
|
|
@ -20,13 +25,24 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Dependancies
|
||||
- name: OpenSSL
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
brew install openssl
|
||||
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
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue