From 920d422ff868aec2190e9880967d2be95fe3d404 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 30 Mar 2020 14:18:49 +0200 Subject: [PATCH] .github/workflows/ci.yml: pass "-B build" to cmake at configure stage. So we don't have to use mkdir/cd --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d8b29d..effe63a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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