diff options
| author | Chris Thrasher | 2025-04-27 09:43:36 -0600 |
|---|---|---|
| committer | Chris Thrasher | 2025-04-27 11:08:45 -0600 |
| commit | 66085dac555c102ec4004cc057e7ef09c81d3c3c (patch) | |
| tree | 89516d8947457da25b0ce606d40a1617bda311c3 | |
| parent | 5a6d70eebbf8201c7c76ea26fb1bb06cceeee5c3 (diff) | |
| download | catch3-66085dac555c102ec4004cc057e7ef09c81d3c3c.tar.gz | |
Simplify Windows CI jobs
| -rw-r--r-- | .github/workflows/windows-simple-builds.yml | 15 |
1 files changed, 5 insertions, 10 deletions
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 |