Skip to content

Commit 9a2afbd

Browse files
committed
Update github actions
1 parent ac43819 commit 9a2afbd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/Build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
git clone https://github.com/microsoft/mimalloc.git
9999
cd mimalloc && mkdir build && cd build && git checkout tags/v2.1.2
100100
echo "Building mimalloc..."
101-
cmake -DCMAKE_BUILD_TYPE=Release -DMI_BUILD_STATIC=ON -DMI_BUILD_SHARED=OFF -DMI_BUILD_TESTS=OFF -DMI_BUILD_OBJECT=ON ..
101+
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_SNMALLOC_STATIC=OFF -DMI_BUILD_STATIC=ON -DMI_BUILD_SHARED=OFF -DMI_BUILD_TESTS=OFF -DMI_BUILD_OBJECT=ON ..
102102
make -j4
103103
echo "Installing mimalloc..."
104104
sudo make install
@@ -141,11 +141,11 @@ jobs:
141141

142142
- name: Build proxy
143143
run: |
144-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_BUILD_WERROR=OFF
144+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_SNMALLOC_STATIC=ON -DENABLE_BUILD_WERROR=OFF
145145
cmake --build build --config Release
146146
147147
- name: Archive artifacts
148148
uses: actions/upload-artifact@v4
149149
with:
150150
name: proxy_server-msvc_x64
151-
path: build/bin/release/proxy_server.exe
151+
path: build/bin/release/proxy_server.exe

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ option(ENABLE_STATIC_LINK_TO_GCC "Build static link to gcc" ON)
7272
option(ENABLE_TCMALLOC_STATIC "Build with Tcmalloc support" OFF)
7373
option(ENABLE_JEMALLOC_STATIC "Build with Jemalloc support" OFF)
7474
option(ENABLE_MIMALLOC_STATIC "Build with mimalloc support" OFF)
75-
option(ENABLE_SNMALLOC_STATIC "Build with snmalloc support" ON)
75+
option(ENABLE_SNMALLOC_STATIC "Build with snmalloc support" OFF)
7676

7777
option(ENABLE_BUILD_EXAMPLES "Build proxy examples" OFF)
7878
option(ENABLE_LINKE_TO_LIBATOMIC "Link to libatomic.so - some platform requires it" OFF)

0 commit comments

Comments
 (0)