Skip to content

Commit 1a05247

Browse files
committed
small icu
1 parent c013ba8 commit 1a05247

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
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
@@ -20,7 +20,7 @@ jobs:
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

scripts/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
x86 = os.environ.get('LIBNODE_X86') == '1'
88
zipBasenameSuffix = 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'

test/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
cmake_minimum_required(VERSION 3.13)
22

33
set(CMAKE_CXX_STANDARD 11)
4-
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
54

65

76
project(libnode_test)
@@ -13,3 +12,8 @@ target_link_libraries(simple libnode)
1312

1413
add_executable(process_argv process_argv.cc)
1514
target_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()

0 commit comments

Comments
 (0)