Skip to content

Commit bd38378

Browse files
committed
Fix c-cpp CI for Windows
1 parent feb9c39 commit bd38378

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/c-cpp.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: configure
14-
run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release ..
14+
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
1515
- name: build
1616
run: cmake --build build
1717
- name: test
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v2
2424
- name: configure
25-
run: mkdir build && cd build && cmake ..
25+
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
2626
- name: build
2727
run: cmake --build build
2828
- name: test
@@ -33,8 +33,8 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v2
3535
- name: configure
36-
run: mkdir build && cd build && cmake ..
36+
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
3737
- name: build
38-
run: cmake --build build --config Debug
38+
run: cmake --build build --config Release
3939
- name: test
40-
run: ./build/test/Debug/unit_tests --wait-for-keypress never -d yes exclude:large_files
40+
run: ./build/test/Release/unit_tests --wait-for-keypress never -d yes exclude:large_files

0 commit comments

Comments
 (0)