diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 7245ed8..96560be 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -74,7 +74,7 @@ jobs: # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: | ccache --show-stats - cmake -B ${{ steps.strings.outputs.build-output-dir }} -S ${{ steps.strings.outputs.source-dir }} + cmake -B build -S ${{ steps.strings.outputs.source-dir }} ccache --show-stats # -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} # -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} @@ -83,14 +83,14 @@ jobs: - name: Build1 # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). run: | - cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --verbose + cmake --build build --config ${{ matrix.build_type }} --verbose ccache --show-stats - name: Build # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). run: | - cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target clean --verbose - cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --verbose + cmake --build build --config ${{ matrix.build_type }} --target clean --verbose + cmake --build build --config ${{ matrix.build_type }} --verbose ccache --show-stats # - name: Test