File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 1
- name : Windows builds (basic )
1
+ name : Windows Builds (Basic )
2
2
3
3
on : [push, pull_request]
4
4
@@ -17,20 +17,15 @@ jobs:
17
17
- uses : actions/checkout@v4
18
18
19
19
- name : Configure build
20
- working-directory : ${{runner.workspace}}
21
20
run : |
22
- cmake -S $Env:GITHUB_WORKSPACE `
23
- -B ${{runner.workspace}}/build `
24
- -DCMAKE_CXX_STANDARD=${{matrix.std}} `
25
- -A ${{matrix.platform}} `
26
- --preset all-tests
21
+ cmake --preset all-tests `
22
+ -A ${{matrix.platform}} `
23
+ -DCMAKE_CXX_STANDARD=${{matrix.std}} `
27
24
28
25
- name : Build tests
29
- working-directory : ${{runner.workspace}}
30
26
run : cmake --build build --config ${{matrix.build_type}} --parallel %NUMBER_OF_PROCESSORS%
31
27
shell : cmd
32
28
33
29
- name : Run tests
34
- working-directory : ${{runner.workspace}}/build
35
- run : ctest -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure
30
+ run : ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure
36
31
shell : cmd
You can’t perform that action at this time.
0 commit comments