mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
Merge pull request #18444 from zeertzjq/ci-unsigned-char
ci: add a check with -funsigned-char
This commit is contained in:
commit
f1bc321b56
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -119,6 +119,10 @@ jobs:
|
||||
cc: clang-13
|
||||
runner: ubuntu-20.04
|
||||
os: linux
|
||||
- flavor: uchar
|
||||
cc: gcc
|
||||
runner: ubuntu-20.04
|
||||
os: linux
|
||||
- cc: clang
|
||||
runner: macos-10.15
|
||||
os: osx
|
||||
|
5
.github/workflows/env.sh
vendored
5
.github/workflows/env.sh
vendored
@ -43,6 +43,11 @@ EOF
|
||||
cat <<EOF >> "$GITHUB_ENV"
|
||||
TSAN_OPTIONS=log_path=$GITHUB_WORKSPACE/build/log/tsan
|
||||
CLANG_SANITIZER=TSAN
|
||||
EOF
|
||||
;;
|
||||
uchar)
|
||||
cat <<EOF >> "$GITHUB_ENV"
|
||||
BUILD_UCHAR=1
|
||||
EOF
|
||||
;;
|
||||
lint)
|
||||
|
@ -370,7 +370,7 @@ option(CI_BUILD "CI, extra flags will be set" OFF)
|
||||
if(CI_BUILD)
|
||||
message(STATUS "CI build enabled")
|
||||
add_compile_options(-Werror)
|
||||
if(DEFINED ENV{BUILD_32BIT})
|
||||
if(DEFINED ENV{BUILD_UCHAR})
|
||||
# Get some test coverage for unsigned char
|
||||
add_compile_options(-funsigned-char)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user