Skip to content

Commit c633417

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] C/C++ for windows.
1 parent 6cf0a97 commit c633417

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/c-windows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,13 @@ jobs:
6666
-DCMAKE_BUILD_TYPE=Debug
6767
-DCMAKE_C_COMPILER=cl
6868
-DCMAKE_CXX_COMPILER=cl
69-
-S${{ github.workspace }} -B${{ github.workspace }}/build/default -G "Unix Makefiles"
69+
-S${{ github.workspace }}
70+
-B${{ github.workspace }}/build/default -G "MinGW Makefiles"
7071
7172
- name: Build
7273
run: |
7374
cmake --build build/default
7475
7576
- name: Test
76-
run: |
77-
ctest --test-dir C:/Users/gonza/devel/gon/algorithm-exercises-c/build/default
77+
run: >
78+
ctest --test-dir ${{ github.workspace }}/build/default

0 commit comments

Comments
 (0)