Skip to content

Commit

Permalink
fix(string): fix some bugs
Browse files Browse the repository at this point in the history
please refer to the file change history for details
  • Loading branch information
CLimber-Rong committed Aug 21, 2024
1 parent cbbed4e commit fc0e728
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install UPX on Windows
if: matrix.os == 'windows-latest'
run: |
choco install upx -y
shell: pwsh

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
add_custom_command(TARGET ${target} POST_BUILD
COMMAND ${CMAKE_STRIP} "${filename}"
COMMAND upx -9 "${filename}"
)
else()
add_custom_command(TARGET ${target} POST_BUILD
COMMAND upx -9 "${filename}"
)
endif()
endif()
Expand Down

0 comments on commit fc0e728

Please sign in to comment.