aboutsummaryrefslogtreecommitdiff
path: root/ci/common
Commit message (Collapse)AuthorAge
* ci(cache): remove ccacheLewis Russell2022-08-12
| | | | It was never in action since migrating from travis to github actions.
* build: rename build-related dirsJustin M. Keyes2022-06-28
| | | | | | | | | | | | | | Problem: Dirs "config", "packaging", and "third-party" are all closely related but this is not obvious from the layout. This adds friction for new contributors. Solution: - rename config/ to cmake.config/ - rename test/config/ to test/cmakeconfig/ because it is used in Lua tests: require('test.cmakeconfig.paths'). - rename packaging/ to cmake.packaging/ - rename third-party/ to cmake.deps/ (parallel with .deps/)
* test: fix runnvim.sh (#17690)zeertzjq2022-03-13
|
* ci: refactor and simplify CI processDundar Göc2022-03-10
|
* ci: remove function run_suiteDundar Göc2022-03-10
|
* ci: remove variable FAIL_SUMMARYDundar Göc2022-03-10
| | | | | | On GitHub Actions it just repeats the summary that is shown just after. When run outside of GitHub Actions it erroneously shows the summary of the previous suites.
* ci: remove variable NVIM_TEST_CURRENT_SUITEDundar Göc2022-03-10
| | | | | We always know where in the test we are anyway, it's just needless repetition.
* ci: remove fail character from fail functionDundar Göc2022-03-10
|
* ci: run each test suite in a separate github stepDundar Göc2022-02-18
| | | | | This should help combat some of the lagginess when looking at the CI logs in the browser.
* ci: disable tracing (set -x) from the shell scriptsDundar Göc2022-02-11
|
* ci: remove function run_testDundar Göc2022-02-10
|
* ci: remove continue flag from exit_suite since it's always neededDundar Göc2022-02-10
|
* ci: run all tests with run_suite functionDundar Göc2022-02-10
|
* ci: run all suites with run_suite functionDundar Göc2022-02-07
|
* ci: simplify CI processDundar Göc2022-02-04
|
* ci: remove all code containing python2Dundar Göc2022-01-26
| | | | Also change all mentions of python 3 to just python.
* ci: simplify ci_fold function (#16874)dundargoc2022-01-03
|
* ci: remove watchdog function run_tests_wdDundar Göc2022-01-02
| | | | | | | It's only used once for running check-single-includes (which I strongly suspect it doesn't need anyway), its core logic is incorrect since both the variables "tempsize" and "prev_temsize" are never defined and parsing ps is incredibly fragile.
* fix(test): Detect more core filenamesJames McCoy2021-04-08
|
* ci: s/TRAVIS_OS_NAME/CI_OS_NAME/ for non-Travis-specific codeJames McCoy2020-11-24
|
* ci: Rename travis_fold to ci_fold and add GHA supportJames McCoy2020-11-13
|
* Add Linux ASAN GitHub ActionJames McCoy2020-11-13
|
* build: Rename TRAVIS_BUILD_DIR to CI_BUILD_DIRJames McCoy2020-11-13
|
* travis: Install clang-11 for ASAN/UBSAN jobJames McCoy2020-09-04
| | | | [skip appveyor]
* ci/travis: Enable ipv6 #12182Justin M. Keyes2020-04-25
| | | | | | | | ref: a39c8b7ce30ddeed4329c28c42b1b699103dccab ref: https://github.com/vim/vim/commit/bfe13ccc58ccb96f243a58309800410db1ccb52c Also: - Remove unused macos_rvm_dance() function. (It was there for reference, but we have since resolved (or gave up) on Travis + macOS + ruby.
* ci: submit_coverage: run luacov actually (#11169)Daniel Hahler2019-10-07
| | | Apparently this got lost with #11127 / 77a551b65.
* ci: coverage for Lua (no Windows, using luacov) (#11127)Daniel Hahler2019-10-04
|
* ci: Travis: simplify 32bit build (#11093)Daniel Hahler2019-10-03
| | | | | | - `CMAKE_SYSTEM_LIBRARY_PATH` should not be used, and is a semicolon-separated list anyway [1] 1: https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_LIBRARY_PATH.html
* tests: use runtime from build for doc/tags with :help (#10479)Daniel Hahler2019-08-28
| | | | | | | | | | | | This is better practice in general, and allows to remove the "helptags ALL" hacks. Ref: https://github.com/neovim/neovim/issues/8824 Ref: https://github.com/neovim/neovim/commit/f1b67c3453c * Makefile: fix dependencies with regard to helptags - use the file as the main target to avoid unnecessary triggering - use "make oldtest" on Travis to ensure it gets built
* ci: Travis: build.sh: use cat "-vet" for osxDaniel Hahler2019-08-14
| | | | | | | | | | | | | Fixes: cat: illegal option -- A usage: cat [-benstuv] [file ...] Broken in 5cc45bb41. squash! ci: Travis: build.sh: use cat "-vET" for osx [skip appveyor] cat -vet
* ci: Travis: check logs for TSan also (#10775)Daniel Hahler2019-08-14
| | | | | | | Uses `cat -A` with early "*San" check: This prints terminal escape sequences as-is (for debugging), and does not cause (display) issues with the Travis log. Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
* ci: Travis: improve/revisit caching (#10358)Daniel Hahler2019-07-30
| | | | | | | | | | | | | | | | - use CACHE_NVIM_DEPS_DIR - do not cache pip This is handled through http caches in general/better, and it is not used much anyway. - do not cache DEPS_DOWNLOAD_DIR Built deps are cached, downloads are not needed then. - display ccache stats before clearing - do not cache ccache stats - improve output of `du` (do not list pages of output for "/home/travis/.cache/go-build")
* ci: Travis: no need for asan_symbolize (#10627)Daniel Hahler2019-07-28
| | | | | | | | Having llvm-symbolizer in the $PATH is enough. - check_logs: remove log after displaying it Otherwise it would be displayed/symbolized again and again. E.g. in https://api.travis-ci.org/v3/job/564477704/log.txt.
* coverage: use "cd" with gcovr (#10594)Daniel Hahler2019-07-25
| | | | | | This makes the invocation compatible for the upcoming gcovr 4.2 release, and is the correct way of invoking it. Ref: https://github.com/gcovr/gcovr/commit/a782972#commitcomment-34420728
* Revert "Downgrade to clang-4.0 to avoid false-positive warnings from clang" ↵Daniel Hahler2019-07-18
| | | | | [skip appveyor] (#10487) This reverts commit 2cbac719c3eba8ea5826e16912126d70222911ed.
* CI: improve gcov handling #10404Daniel Hahler2019-07-07
| | | | | | | | | - Move __gcov_flush to process_spawn, for more reliable coverage tracking of subprocesses - Travis: use GCOV_ERROR_FILE - codecov: use "-X fix" to skip "fixing" uploaded coverage data; it should be handled by codecov's backend instead. - AppVeyor: no $PATH mangling, which breaks with the improved coverage tracking due to missing .dll in PATH.
* ci: Travis: do not close fold on failure [skip ci]Daniel Hahler2019-07-03
| | | | | This makes it easier to inspect the test failure, without having to open two folds (typically), and scrolling around.
* ci: Travis: upgrade OSX images (10.1 => 10.2) (#10319)Daniel Hahler2019-06-26
| | | | | | | | | * ci: Travis: upgrade OSX images (10.1 => 10.2) * ci: nvim-deps: use `cp -a` [skip appveyor] Symlinks should be preserved. Ref: https://github.com/neovim/neovim/pull/10319#issuecomment-505410132
* ci: revisit/fix coverage uploading (#10201)Daniel Hahler2019-06-25
| | | | | | | | | | | * Add ci/common/submit_coverage.sh, used with Travis and AppVeyor * use gcovr, with coverage.xml for better branch coverage reporting, and easier processing of gcov files in general * codecov: use flags again, with `uname -s` additionally Ref: https://github.com/neovim/neovim/pull/10227#issuecomment-502923543 * remove now unused parsers.gcov config from codecov.yml
* ci/common/test.sh: fix some issues reported by shellcheckDaniel Hahler2019-06-17
|
* ci: codecov: do not use flags [ci skip] (#10227)Daniel Hahler2019-06-15
| | | | Using flags results in timeouts on their end when viewing reports, and is a known issue since months already.
* Downgrade to clang-4.0 to avoid false-positive warnings from clangJames McCoy2018-11-24
| | | | | | | | | | | | | * -Wtautological-compare error: self-comparison always evaluates to true [-Werror,-Wtautological-compare] for (win_T *wp = ((curtab) == curtab) ? firstwin : (curtab)->tp_firstwin; wp != ((void*)0); wp = wp->w_next) { * -Wconversion error: implicit conversion loses floating-point precision: 'const float_T' (aka 'const double') to 'float' [-Werror,-Wconversion] do { const float_T flt_ = (tv->vval.v_float); switch ((sizeof (flt_) == sizeof (float) ? __fpclassifyf (flt_) : sizeof (flt_) == sizeof (double) ? __fpclassify (flt_) : __fpclassifyl (flt_))) { case 0: { ga_concat(gap, (char_u *)(char_u *) "str2float('nan')"); break; } case 1: { if (flt_ < 0) { ga_append(gap, '-'); } ga_concat(gap, (char_u *)(char_u *) "str2float('inf')"); break; } default: { char numbuf[NUMBUFLEN]; vim_snprintf(numbuf, ((sizeof(numbuf)/sizeof((numbuf)[0])) / ((size_t)(!(sizeof(numbuf) % sizeof((numbuf)[0]))))), "%g", flt_); ga_concat(gap, (char_u *)(char_u *) numbuf); } } } while (0); ~~~~~~~~~~~~~ ^~~~
* CI/travis/macOS: use "sudo rm" to remove coresJustin M. Keyes2018-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After bumping Travis macOS to 10.13, it now hangs at: + check_core_dumps --delete quiet + local del= + test --delete = --delete + del=1 + shift + local app=quiet + test osx = osx ++ find /cores/ -type f -print + local 'cores=/cores//core.554 /cores//core.641 /cores//core.801' + test -z '/cores//core.554 /cores//core.641 /cores//core.801' + local core + for core in '$cores' + test 1 = 1 + print_core quiet /cores//core.554 + local app=quiet + local core=/cores//core.554 + test quiet = quiet + echo 'Found core /cores//core.554' Found core /cores//core.554 + return 0 + rm /cores//core.554 override r-------- root/admin for /cores//core.554? The cores are always present on the Travis macOS 10.13 image! Hilarious.
* test: Dump $NVIM_LOG_FILE contents (#8926)Justin M. Keyes2018-08-28
| | | | | | Do this at the test-framework level instead of CI (Travis) scripts. Then it works for QuickBuild and AppVeyor. ref eb6dd3e42dc38460e8624dc5faef894e21c6aa26
* CI/travis: fix restore from cacheJustin M. Keyes2018-08-12
| | | | | | | | | | | | | | | a36938500988 fixed this for "~/.cache/nvim-deps/", but strangely not for "~/.cache/nvim-deps-downloads/". ref a36938500988 ref #8316 ref #8281 Seen in https://travis-ci.org/neovim/neovim/jobs/414982972 : Using third-party dependencies from Travis cache (last update: Aug 11 23:00:15 2018). cp: /Users/travis/build/neovim/neovim/deps-downloads/nvim-deps-downloads/…/nvim-deps-downloads/libvterm/a9c7c6fd20fa35e0ad3e0e98901ca12dfca9c25c.tar.gz: name too long (not copied)
* travis: Enable ccacheJames McCoy2018-05-01
|
* ci/travis: fix restore from cache #8316Srikanth M2018-04-24
| | | closes #8281
* ci/travis: also cache $DEPS_DOWNLOAD_DIRJustin M. Keyes2018-03-18
| | | | ref #5166
* ci/travis: Don't destroy cache during prepareJustin M. Keyes2018-03-17
| | | | | This change was missed in c7f95fde1bb1. ref #5166
* ci/travis: Don't destroy cache during prepareJustin M. Keyes2018-03-11
| | | | | | | Use `cp -r` instead of `mv`. Remove use of `dirname`, that was missed in 10cdf8c28621. closes #5166