From 1b97bc996b38b3fa039a736ea66253a991760a6f Mon Sep 17 00:00:00 2001 From: Cary Phillips Date: Tue, 12 Nov 2024 17:00:34 -0800 Subject: [PATCH] .. Signed-off-by: Cary Phillips --- .github/workflows/ci_steps.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_steps.yml b/.github/workflows/ci_steps.yml index d1ac576ef..f54af9121 100644 --- a/.github/workflows/ci_steps.yml +++ b/.github/workflows/ci_steps.yml @@ -82,8 +82,8 @@ jobs: - name: Construct CMake command and save it to environment run: | - CMAKE_COMMAND="cmake -B _build -S . \ - -DCMAKE_INSTALL_PREFIX=_install \ + CMAKE_COMMAND="cmake -B . -S .. \ + -DCMAKE_INSTALL_PREFIX=../_install \ -DCMAKE_BUILD_TYPE=${{ inputs.build-type }} \ -DOPENEXR_CXX_STANDARD=${{ inputs.cxx-standard }} \ -DBUILD_SHARED_LIBS=${{ inputs.BUILD_SHARED_LIBS }} \ @@ -99,17 +99,20 @@ jobs: -DOPENEXR_RUN_FUZZ_TESTS='OFF' \ -DCMAKE_VERBOSE_MAKEFILE:BOOL='ON'" echo "CMAKE_COMMAND=$CMAKE_COMMAND" >> $GITHUB_ENV + working-directory: _build shell: bash - name: Configure run: $CMAKE_COMMAND + working-directory: _build shell: bash - name: Build run: | - cmake --build _build \ + cmake --build . \ --target install \ --config ${{ inputs.build-type }} + working-directory: _build shell: bash - name: Test