File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,11 @@ jobs:
10
10
enable_image : [on, off]
11
11
steps :
12
12
- uses : actions/checkout@v4
13
+ - uses : aseprite/get-ninja@ci
13
14
- uses : ilammy/msvc-dev-cmd@v1
14
15
if : runner.os == 'Windows'
15
16
- name : Generating Makefiles
16
- shell : bash
17
- run : |
18
- if [[ "${{ runner.os }}" == "Windows" ]] ; then
19
- cmake . -G "NMake Makefiles" \
20
- -DCLIP_ENABLE_IMAGE=${{ matrix.enable_image }}
21
- else
22
- cmake . -G "Unix Makefiles" \
23
- -DCLIP_ENABLE_IMAGE=${{ matrix.enable_image }}
24
- fi
17
+ run : cmake . -G "Ninja" -DCLIP_ENABLE_IMAGE=${{ matrix.enable_image }}
25
18
- name : Compiling
26
19
shell : bash
27
20
run : cmake --build .
@@ -41,11 +34,12 @@ jobs:
41
34
run :
42
35
shell : msys2 {0}
43
36
steps :
37
+ - uses : aseprite/get-ninja@ci
44
38
- uses : msys2/setup-msys2@v2
45
39
with :
46
40
release : false
47
41
msystem : ${{matrix.sys}}
48
- pacboy : cc:p cmake:p ninja:p
42
+ pacboy : cc:p cmake:p
49
43
- uses : actions/checkout@v4
50
44
- name : Generating Makefiles
51
45
run : cmake .
You can’t perform that action at this time.
0 commit comments