- chown -R cirrus:cirrus .
- sudo -u cirrus make test
on_failure:
- screendump_artifacts:
+ test_artifacts:
name: "Cirrus-CI-freebsd-failed-tests"
path: |
+ runtime/indent/testdir/*.fail
runtime/syntax/testdir/failed/*
src/testdir/failed/*
type: application/octet-stream
-name: 'screendump'
-description: "Upload failed screendump tests"
+name: 'test_artifacts'
+description: "Upload failed test artifacts"
runs:
using: "composite"
steps:
# A file, directory or wildcard pattern that describes what
# to upload.
path: |
+ ${{ github.workspace }}/runtime/indent/testdir/*.fail
${{ github.workspace }}/runtime/syntax/testdir/failed/*
${{ github.workspace }}/src/testdir/failed/*
# The desired behavior if no files are found using the
do_test make ${SHADOWOPT} ${TEST}
- if: ${{ !cancelled() }}
- uses: ./.github/actions/screendump
+ uses: ./.github/actions/test_artifacts
- name: Vim tags
if: contains(matrix.extra, 'vimtags')
make ${TEST}
- if: ${{ !cancelled() }}
- uses: ./.github/actions/screendump
+ uses: ./.github/actions/test_artifacts
windows:
runs-on: windows-2022
)
- if: ${{ !cancelled() }}
- uses: ./.github/actions/screendump
+ uses: ./.github/actions/test_artifacts
- name: Generate gcov files
if: matrix.coverage
.github/ISSUE_TEMPLATE/feature_request.md \
.github/workflows/ci.yml \
.github/workflows/codeql-analysis.yml \
- .github/actions/screendump/action.yml \
.github/workflows/coverity.yml \
+ .github/actions/test_artifacts/action.yml \
.github/dependabot.yml \
.gitignore \
.hgignore \
let g:timeout_start = localtime()
endif
+ if ValgrindOrAsan()
+ let g:vim_indent = {"searchpair_timeout": 1024}
+ let g:python_indent = {"searchpair_timeout": 1024}
+ endif
+
" Avoid stopping at the "hit enter" prompt
set nomore
return GetVimCommand() =~ '\<valgrind\>'
endfunc
+func RunningAsan()
+ return exists("$ASAN_OPTIONS")
+endfunc
+
+func ValgrindOrAsan()
+ return RunningWithValgrind() || RunningAsan()
+endfun
+
" Get the command to run Vim, with --clean instead of "-u NONE".
func GetVimCommandClean()
let cmd = GetVimCommand()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 827,
/**/
826,
/**/