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

.github/workflows/ci.yml: some minor cleanup.

This commit is contained in:
Henrik Hautakoski 2020-04-10 17:47:45 +02:00
parent 48eb716165
commit c206ec764f

View file

@ -28,12 +28,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: OpenSSL - name: OpenSSL OSX
if: runner.os == 'macOS'
shell: bash shell: bash
run: | run: brew install openssl
if [ "$RUNNER_OS" == "macOS" ]; then
brew install openssl
fi
- name: Qt - Ubuntu - name: Qt - Ubuntu
if: matrix.build == 'gui' && runner.os == 'Linux' if: matrix.build == 'gui' && runner.os == 'Linux'
@ -49,10 +47,11 @@ jobs:
- name: Configure - name: Configure
shell: bash shell: bash
run: | run: |
OPTS="${{matrix.cmake-opts}}"
if [ "$RUNNER_OS" == "macOS" ]; then if [ "$RUNNER_OS" == "macOS" ]; then
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1" OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ${OPTS}"
fi fi
cmake ${SSL_OPTS} ${{matrix.cmake-opts}} -B build cmake ${OPTS} -B build
- name: Build - name: Build
shell: bash shell: bash