Skip to content

Commit

Permalink
Fix bun run being terminated randomly in CI
Browse files Browse the repository at this point in the history
This was basically a chaos monkey in our CI
  • Loading branch information
Electroid authored Sep 7, 2024
1 parent ed65543 commit cbb57e5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1378,19 +1378,6 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32 AND NOT ASSERT_ENABLED)
)
endif()

if(WIN32)
# Kill all instances of bun before linking.
# This is necessary because the file is locked by the process.
add_custom_command(
TARGET ${bun}
PRE_LINK
COMMAND
"powershell"
"/C"
"Stop-Process -Name '${bun}' -Force -ErrorAction SilentlyContinue; exit 0"
)
endif()

# --- Dependencies ---
if(USE_CUSTOM_ZLIB)
include_directories(${BUN_DEPS_DIR}/zlib)
Expand Down

0 comments on commit cbb57e5

Please sign in to comment.