mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-03 11:53:41 +02:00
.github/workflows/ci.yml: update build matrix to cover all configurations.
This commit is contained in:
parent
7a8867bb3c
commit
54e493de1f
1 changed files with 14 additions and 9 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
|
@ -12,15 +12,20 @@ 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: [ cli-force-ansi-on, cli-force-ansi-off, gui ]
|
build: [ cli, cli-mt, cli-ansi, cli-ansi-mt, gui, gui-mt ]
|
||||||
include:
|
include:
|
||||||
- build: cli-force-ansi-on
|
- build: cli
|
||||||
cmake-opts: -DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=ON
|
cmake-opts: -DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=OFF -DUSE_THREADS=OFF
|
||||||
- build: cli-force-ansi-off
|
- build: cli-mt
|
||||||
cmake-opts: -DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=ON
|
cmake-opts: -DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=OFF -DUSE_THREADS=ON
|
||||||
|
- build: cli-ansi
|
||||||
|
cmake-opts: -DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=ON -DUSE_THREADS=OFF
|
||||||
|
- build: cli-ansi-mt
|
||||||
|
cmake-opts: -DBUILD_COMPONENT_CLI=ON -DBUILD_COMPONENT_GUI=OFF -DFORCE_ANSI=ON -DUSE_THREADS=ON
|
||||||
- build: gui
|
- build: gui
|
||||||
cmake-opts: -DBUILD_COMPONENT_CLI=OFF -DBUILD_COMPONENT_GUI=ON
|
cmake-opts: -DBUILD_COMPONENT_CLI=OFF -DBUILD_COMPONENT_GUI=ON -DUSE_THREADS=OFF
|
||||||
|
- build: gui-mt
|
||||||
|
cmake-opts: -DBUILD_COMPONENT_CLI=OFF -DBUILD_COMPONENT_GUI=ON -DUSE_THREADS=ON
|
||||||
|
|
||||||
name: ${{matrix.os}} (${{matrix.build}})
|
name: ${{matrix.os}} (${{matrix.build}})
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
|
|
@ -34,12 +39,12 @@ jobs:
|
||||||
run: brew install openssl
|
run: brew install openssl
|
||||||
|
|
||||||
- name: Qt - Ubuntu
|
- name: Qt - Ubuntu
|
||||||
if: matrix.build == 'gui' && runner.os == 'Linux'
|
if: startsWith(matrix.build, 'gui') && runner.os == 'Linux'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: sudo apt-get install qt5-default
|
run: sudo apt-get install qt5-default
|
||||||
|
|
||||||
- name: Qt - Windows/Mac
|
- name: Qt - Windows/Mac
|
||||||
if: matrix.build == 'gui' && runner.os != 'Linux'
|
if: startsWith(matrix.build, 'gui') && runner.os != 'Linux'
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
version: '5.9'
|
version: '5.9'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue