diff --git a/.github/workflows/windows-simple-builds.yml b/.github/workflows/windows-simple-builds.yml index 85f0989a..fab746c3 100644 --- a/.github/workflows/windows-simple-builds.yml +++ b/.github/workflows/windows-simple-builds.yml @@ -1,4 +1,4 @@ -name: Windows builds (basic) +name: Windows Builds (Basic) on: [push, pull_request] @@ -17,20 +17,15 @@ jobs: - uses: actions/checkout@v4 - name: Configure build - working-directory: ${{runner.workspace}} run: | - cmake -S $Env:GITHUB_WORKSPACE ` - -B ${{runner.workspace}}/build ` - -DCMAKE_CXX_STANDARD=${{matrix.std}} ` - -A ${{matrix.platform}} ` - --preset all-tests + cmake --preset all-tests ` + -A ${{matrix.platform}} ` + -DCMAKE_CXX_STANDARD=${{matrix.std}} ` - name: Build tests - working-directory: ${{runner.workspace}} run: cmake --build build --config ${{matrix.build_type}} --parallel %NUMBER_OF_PROCESSORS% shell: cmd - name: Run tests - working-directory: ${{runner.workspace}}/build - run: ctest -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure + run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure shell: cmd