diff options
author | James McCoy <jamessan@jamessan.com> | 2021-10-05 19:44:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-05 19:44:04 +0100 |
commit | 2e258bd79f403bcccb1336bea70803957a83808f (patch) | |
tree | d138257f739a37e973e3cba2e5f50288a66bee34 /.github | |
parent | 949de97da32d4fff28c569387e2ba8b3e311e64d (diff) | |
download | vim-git-2e258bd79f403bcccb1336bea70803957a83808f.tar.gz |
patch 8.2.3481: failures when char is unsignedv8.2.3481
Problem: Failures when char is unsigned.
Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
closes #8936)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3cc065be..5bfcc79e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,7 @@ jobs: compiler: gcc coverage: true extra: testgui + uchar: true - features: huge compiler: clang extra: asan @@ -111,10 +112,14 @@ jobs: ;; esac + CFLAGS="" if ${{ matrix.coverage == true }}; then - echo "CFLAGS=--coverage -DUSE_GCOV_FLUSH" + CFLAGS="$CFLAGS --coverage -DUSE_GCOV_FLUSH" echo "LDFLAGS=--coverage" fi + if ${{ matrix.uchar == true }}; then + CFLAGS="$CFLAGS -funsigned-char" + fi if ${{ contains(matrix.extra, 'testgui') }}; then echo "TEST=-C src testgui" fi @@ -130,6 +135,7 @@ jobs: if ${{ contains(matrix.extra, 'vimtags') }}; then echo "TEST=-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim" fi + echo "CFLAGS=$CFLAGS" ) >> $GITHUB_ENV - name: Set up system |