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

.github/workflows/ci.yml: pass "-B build" to cmake at configure stage. So we don't have to use mkdir/cd

This commit is contained in:
Henrik Hautakoski 2020-03-30 14:18:49 +02:00
parent a46a13db4d
commit 920d422ff8

View file

@ -23,7 +23,6 @@ jobs:
- name: Dependancies
shell: bash
run: |
mkdir -p build
if [ "$RUNNER_OS" == "macOS" ]; then
brew install openssl
fi
@ -34,7 +33,7 @@ jobs:
if [ "$RUNNER_OS" == "macOS" ]; then
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1"
fi
cd build && cmake ${SSL_OPTS} ${{matrix.build-opts}} ..
cmake ${SSL_OPTS} ${{matrix.build-opts}} -B build
- name: Build
shell: bash