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

CI: Build with and without thread support.

This commit is contained in:
Henrik Hautakoski 2020-01-15 17:30:25 +01:00
parent 5b8d26a4e3
commit 725ba47e34

View file

@ -12,10 +12,14 @@ jobs:
name: compile - Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
build-opts: [ "-DUSE_THREADS=ON", "-DUSE_THREADS=OFF" ]
steps:
- uses: actions/checkout@v1
- name: Configure
run: mkdir build && cd build && cmake ..
run: mkdir build && cd build && cmake ${{matrix.build-opts}} ..
- name: Build
run: cmake --build build
@ -23,18 +27,27 @@ jobs:
name: compile - MacOS
runs-on: macos-latest
strategy:
matrix:
build-opts: [ "-DUSE_THREADS=ON", "-DUSE_THREADS=OFF" ]
steps:
- uses: actions/checkout@v1
- name: Dependancies
run: brew install openssl
- name: Configure
run: mkdir build && cd build && cmake -D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..
run: mkdir build && cd build && cmake ${{matrix.build-opts}} -D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..
- name: Build
run: cmake --build build
win:
name: compile - windows
runs-on: windows-latest
strategy:
matrix:
build-opts: [ "-DUSE_THREADS=ON", "-DUSE_THREADS=OFF" ]
steps:
- uses: actions/checkout@v1
- name: Dependancies
@ -43,6 +56,6 @@ jobs:
Invoke-WebRequest -Uri https://mirror.firedaemon.com/OpenSSL/openssl-1.1.1e-dev.zip -OutFile openssl.zip
Expand-Archive openssl.zip
- name: Configure
run: cd build; cmake -D OPENSSL_ROOT_DIR="$pwd\openssl\openssl-1.1\x64" ..
run: cd build; cmake ${{matrix.build-opts}} -D OPENSSL_ROOT_DIR="$pwd\openssl\openssl-1.1\x64" ..
- name: Build
run: cmake --build build