comparison .github/workflows/ci.yml @ 25895:8e9864b98846 v8.2.3481

patch 8.2.3481: failures when char is unsigned Commit: https://github.com/vim/vim/commit/2e258bd79f403bcccb1336bea70803957a83808f Author: James McCoy <jamessan@jamessan.com> Date: Tue Oct 5 19:44:04 2021 +0100 patch 8.2.3481: failures when char is unsigned Problem: Failures when char is unsigned. Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy, closes #8936)
author Bram Moolenaar <Bram@vim.org>
date Tue, 05 Oct 2021 20:45:03 +0200
parents e2d74d655b75
children ca54c8a0c847
comparison
equal deleted inserted replaced
25894:389560a21382 25895:8e9864b98846
38 coverage: true 38 coverage: true
39 - features: huge 39 - features: huge
40 compiler: gcc 40 compiler: gcc
41 coverage: true 41 coverage: true
42 extra: testgui 42 extra: testgui
43 uchar: true
43 - features: huge 44 - features: huge
44 compiler: clang 45 compiler: clang
45 extra: asan 46 extra: asan
46 - features: huge 47 - features: huge
47 compiler: gcc 48 compiler: gcc
109 echo "TEST=scripttests test_libvterm" 110 echo "TEST=scripttests test_libvterm"
110 echo "CONFOPT=--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp" 111 echo "CONFOPT=--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
111 ;; 112 ;;
112 esac 113 esac
113 114
115 CFLAGS=""
114 if ${{ matrix.coverage == true }}; then 116 if ${{ matrix.coverage == true }}; then
115 echo "CFLAGS=--coverage -DUSE_GCOV_FLUSH" 117 CFLAGS="$CFLAGS --coverage -DUSE_GCOV_FLUSH"
116 echo "LDFLAGS=--coverage" 118 echo "LDFLAGS=--coverage"
119 fi
120 if ${{ matrix.uchar == true }}; then
121 CFLAGS="$CFLAGS -funsigned-char"
117 fi 122 fi
118 if ${{ contains(matrix.extra, 'testgui') }}; then 123 if ${{ contains(matrix.extra, 'testgui') }}; then
119 echo "TEST=-C src testgui" 124 echo "TEST=-C src testgui"
120 fi 125 fi
121 if ${{ contains(matrix.extra, 'unittests') }}; then 126 if ${{ contains(matrix.extra, 'unittests') }}; then
128 echo "LSAN_OPTIONS=suppressions=${GITHUB_WORKSPACE}/src/testdir/lsan-suppress.txt" 133 echo "LSAN_OPTIONS=suppressions=${GITHUB_WORKSPACE}/src/testdir/lsan-suppress.txt"
129 fi 134 fi
130 if ${{ contains(matrix.extra, 'vimtags') }}; then 135 if ${{ contains(matrix.extra, 'vimtags') }}; then
131 echo "TEST=-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim" 136 echo "TEST=-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"
132 fi 137 fi
138 echo "CFLAGS=$CFLAGS"
133 ) >> $GITHUB_ENV 139 ) >> $GITHUB_ENV
134 140
135 - name: Set up system 141 - name: Set up system
136 run: | 142 run: |
137 if [[ ${CC} = clang ]]; then 143 if [[ ${CC} = clang ]]; then