File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 matrix :
1212 os : [macos-10.15, windows-2019, ubuntu-18.04]
1313 x86 : [0, 1]
14- no_intl : [0, 1]
14+ small_icu : [0, 1]
1515 exclude :
1616 - os : macos-10.15
1717 x86 : 1
2020 runs-on : ${{ matrix.os }}
2121 env :
2222 LIBNODE_X86 : ${{ matrix.x86 }}
23- LIBNODE_NO_INTL : ${{ matrix.no_intl }}
23+ LIBNODE_SMALL_ICU : ${{ matrix.small_icu }}
2424 steps :
2525 - name : Checkout code
2626 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 77x86 = os .environ .get ('LIBNODE_X86' ) == '1'
88zipBasenameSuffix = os .environ .get ('LIBNODE_ZIP_SUFFIX' , '' )
99
10- if os .environ .get ('LIBNODE_NO_INTL ' , '' ) == '1' :
11- configFlags += ['--without -intl' ]
12- zipBasenameSuffix += '-nointl '
10+ if os .environ .get ('LIBNODE_SMALL_ICU ' , '' ) == '1' :
11+ configFlags += ['--with -intl=small-icu ' ]
12+ zipBasenameSuffix += '-smallicu '
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.13 )
22
33set (CMAKE_CXX_STANDARD 11)
4- set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG :Debug >:Debug >" )
54
65
76project (libnode_test)
@@ -13,3 +12,8 @@ target_link_libraries(simple libnode)
1312
1413add_executable (process_argv process_argv.cc )
1514target_link_libraries (process_argv libnode )
15+
16+ if (WIN32 )
17+ target_compile_options (simple PRIVATE "/MT" )
18+ target_compile_options (process_argv PRIVATE "/MT" )
19+ endif ()
You can’t perform that action at this time.
0 commit comments