File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 name : Build
12- runs-on : ubuntu-latest
1312 strategy :
1413 fail-fast : false
1514 matrix :
15+ os : [windows-latest, ubuntu-latest]
1616 type : [debug, release]
17+ runs-on : ${{ matrix.os }}
1718 steps :
1819
1920 - name : checkout code
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ local YELLOW = '\27[1;33m'
55local NC = ' \27 [0m' -- No Color
66
77add_includedirs (" include" )
8+ set_encodings (" utf-8" )
89
910if is_mode (" debug" ) then
1011 add_cxflags (" -g -O0" )
@@ -83,9 +84,9 @@ option("moore-gpu")
8384 set_description (" Whether to complie implementations for Moore Threads GPU" )
8485option_end ()
8586
86- if has_config (" mthreads -gpu" ) then
87- add_defines (" ENABLE_MUSA_API" )
88- end
87+ if has_config (" moore -gpu" ) then
88+ add_defines (" ENABLE_MUSA_API" )
89+ end
8990
9091-- 海光
9192option (" sugon-dcu" )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ target("infiniop-cpu")
22 on_install (function (target ) end )
33 set_kind (" static" )
44
5- add_cxflags ( " -Wall " , " -Werror " )
5+ set_warnings ( " all " , " error " )
66
77 if not is_plat (" windows" ) then
88 add_cxflags (" -fPIC" )
@@ -14,4 +14,4 @@ target("infiniop-cpu")
1414 add_cxflags (" -fopenmp" )
1515 add_ldflags (" -fopenmp" )
1616 end
17- target_end ()
17+ target_end ()
You can’t perform that action at this time.
0 commit comments