Jakub Łuczyński
035d82e0d3
build: update cmake min version to 3.10 #16065
...
* build(cmake): update cmake min version to 3.10
* ci: test cmake minimum required version
* build(cmake): remove some legacy includes
* Since version 3.5 cmake_parse_arguments is implemented natively.
2021-10-19 19:19:33 -07:00
James McCoy
18512649e6
ci(travis): Remove jobs covered by GHA
2020-12-28 21:19:48 -05:00
James McCoy
d93e397232
ci: s/TRAVIS_OS_NAME/CI_OS_NAME/ for non-Travis-specific code
2020-11-24 21:26:02 -05:00
James McCoy
392ec5a43f
ci: Remove $CCACHE_CPP2
...
The env var is being set to the default value, as of ccache 3.3, which
is available in Zesty and newer. All of our CI is using Bionic, so this
is already available.
2020-11-14 21:28:59 -05:00
James McCoy
39b3eb34c2
ci: Install gem binaries to ~/.local/bin
...
That directory is already part of `$PATH`, so let's reuse it instead of
trying to figure what version-specific path binaries gem normally uses.
2020-11-14 17:23:35 -05:00
James McCoy
eb2aaed5cc
Add Linux ASAN GitHub Action
2020-11-13 13:36:56 -05:00
James McCoy
86eba08a4b
build: Rename TRAVIS_CI_BUILD variable to CI_BUILD
2020-11-13 13:36:56 -05:00
James McCoy
2516386c6b
travis: Install clang-11 for ASAN/UBSAN job
...
[skip appveyor]
2020-09-04 10:59:16 -04:00
James McCoy
f7434bab73
travis: Install powershell via "snaps" addon
...
[skip appveyor]
2020-09-04 10:59:15 -04:00
James McCoy
89ed96fab9
travis: Bump Linux dist to bionic
...
[skip appveyor]
2020-09-04 10:59:08 -04:00
Carlos Hernandez
65b2fce787
snap: don't run snapcraft under sudo
...
Snapcraft 4.0 complains about running LXD builds under sudo. So instead
add the CI user to the "lxd" group and use sg to switch to that
membership.
Resolves : #12712
2020-08-30 17:13:41 +00:00
James McCoy
ca828eaed6
Install gettext for msgfmt/msgmerge
...
[skip appveyor]
2020-03-18 23:52:36 -04:00
James McCoy
be7cefdc4f
Set FUNCTIONALTEST=functionaltest-lua for s390x
...
LuaJIT doesn't support s390x yet.
[skip appveyor]
2020-03-18 23:52:29 -04:00
James McCoy
cca301d939
Install pynvim with --user to avoid permission issues
...
[skip appveyor]
2020-03-18 23:52:22 -04:00
James McCoy
0ab7cfa78b
Add big-endian, s390x job to Travis
...
This will help catch issues like #11388 .
[skip appveyor]
2020-03-18 22:03:51 -04:00
Justin M. Keyes
38cda18626
CI/travis: workaround broken homebrew
...
6.70s$ rvm $brew_ruby do brew bundle --verbose --global
/usr/local/bin/brew tap homebrew/bundle
==> Tapping homebrew/bundle
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'...
Tapped (102 files, 251.1KB).
Error: Unknown command: bundle
https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/10
https://twitter.com/AJenbo/status/1175976531480457216
2020-02-22 14:15:08 -08:00
Jan Edmund Lazo
40cc5822b1
ci: install perl provider
2020-01-20 19:43:58 -05:00
Jan Edmund Lazo
0cebdf0ed9
ci: test powershell core on macOS
2019-12-31 21:15:58 -05:00
Jan Edmund Lazo
1836853955
ci: test powershell core on Linux
2019-12-31 15:11:08 -05:00
Justin M. Keyes
bc879dd1f1
snap: allow job failure
...
This thing still fails with "need manual review" error.
Try devmode (again)--since we got approved once, maybe it works now?
ref 49849745f1
ref d9ab83d057
ref #11482
2019-12-12 01:29:11 -08:00
Justin M. Keyes
d9ab83d057
snap: re-enable CI job
...
ref 49849745f1
ref #11482
2019-12-11 02:27:28 -08:00
Justin M. Keyes
49849745f1
snap: disable job until we are approved
...
We are waiting for snapcraft.io to review/approve us for "classic" mode.
reverts 1f684cf80a
ref #11482
2019-11-30 15:18:48 -08:00
Daniel Hahler
5c9063cf2d
snap: fix line continuation #11475
...
reverts commit 5298169068
.
2019-11-28 20:51:43 -08:00
Justin M. Keyes
5298169068
snap: disable job
...
snap job hangs on travis:
https://travis-ci.org/neovim/neovim/builds/618434882
2019-11-28 20:32:06 -08:00
Justin M. Keyes
c6d70d1786
snap: more yak-shaving
...
- generate decryption step
- skip job for PRs
- remove transfer.sh support
- deploy every (master) commit
2019-11-28 19:30:27 -08:00
Carlos Hernandez
6325ec90dc
snap: add "snap" job to Travis CI
2019-11-28 15:38:40 -08:00
Daniel Hahler
77a551b657
ci: coverage for Lua (no Windows, using luacov) ( #11127 )
2019-10-04 16:09:42 +02:00
Daniel Hahler
3d3c783fea
ci: Travis: simplify 32bit build ( #11093 )
...
- `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
2019-10-03 05:40:25 +02:00
Daniel Hahler
e79ea696a2
Remove TSan suppression config [skip appveyor]
2019-08-15 21:58:51 +02:00
Jan Edmund Lazo
eb9f3308bc
CI/travis: git clone -q #10781
...
https://docs.travis-ci.com/user/customizing-the-build/#git-clone-quiet
2019-08-15 08:55:22 +02:00
Daniel Hahler
ae31de32ee
build: TSan: add src/.tsan-suppressions
...
Uses runtime suppressions instead of a blacklist, which can only ignore
whole files/functions.
Ref: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
2019-08-14 23:17:53 +02:00
Daniel Hahler
ab842fb8b8
ci: Travis: homebrew: update=false [skip appveyor]
...
It is disabled by default, and the docs mention that it slows builds
down [1]. It took 165s in https://travis-ci.org/neovim/neovim/jobs/572000615 .
1: https://docs.travis-ci.com/user/installing-dependencies/#installing-packages-on-macos
2019-08-14 22:16:34 +02:00
Daniel Hahler
ae27406db2
ci: Travis: move gcc-functionaltest-lua to 2nd stage ( #10682 )
...
Ref: https://github.com/neovim/neovim/pull/10673#issuecomment-517733843
2019-08-03 14:55:27 +02:00
Daniel Hahler
1aedb9ed00
ci: Travis: move coverage job to first stage ( #10673 )
...
This swaps it with "gcc-32bit".
It is better to have the "coverage" job run than "gcc-32bit" in case of
flaky build failures - especially on master, since otherwise no base
coverage is available for future PRs.
2019-08-02 15:48:32 +02:00
Daniel Hahler
208f56d3b9
ci: Travis: improve/revisit caching ( #10358 )
...
- 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")
2019-07-30 23:21:12 +02:00
Daniel Hahler
7be85ed0f5
ci: Travis: single osx job [ci skip] ( #10614 )
...
The "osx" jobs are the slowest ones, and often still flaky.
I think it is good enough to have a single one there (since they only use
different compilers).
This should improve build times in general (with multiple running
builds, since we're using less jobs per build), and also make flaky job
failures less likely.
2019-07-27 11:50:44 +02:00
Daniel Hahler
0b4123668a
ci: Travis: gcc-9: use gcov-9 ( #10609 )
2019-07-27 02:04:49 +02:00
Daniel Hahler
e1a5c29b93
ci: Travis: remove clang-tsan from allowed failures [skip ci] ( #10591 )
...
While it still might be flaky sometimes, it is far better than the
osx jobs in general, and due to it being allowed to fail, we are not
getting aware of more recent (flaky) issues due to building tags during
make-install, which might indicate a more generic problem.
2019-07-27 01:32:02 +02:00
Daniel Hahler
b59a1f7b52
ci: restore accidentally removed config ( #10592 )
2019-07-24 02:16:09 +02:00
Daniel Hahler
f08d10a0df
tests: re-enable "tab drag in tabline to the left moves tab left" ( #10588 )
...
Ref: https://github.com/neovim/neovim/pull/4874
2019-07-24 02:12:19 +02:00
Daniel Hahler
a04e0c8db2
Revert "Downgrade to clang-4.0 to avoid false-positive warnings from clang" [skip appveyor] ( #10487 )
...
This reverts commit 2cbac719c3
.
2019-07-18 08:49:37 +02:00
Daniel Hahler
3d356c14df
ci: Travis: use gcc9 with gcov job [skip appveyor] ( #10480 )
...
* ci: Travis: use gcc-9 in gcov job
* ci: Travis: use CCACHE_CPP2=1
This is required to avoid warnings with newer gcc/clang.
Follow-up to: https://github.com/neovim/neovim/pull/10533
2019-07-18 01:27:05 +02:00
Daniel Hahler
353b3852fd
ci: Travis: ccache: use CCACHE_HASHDIR [skip appveyor]
...
This is the default since ccache 3.3, but Travis has 3.2.4.
This fixes compiler warnings from macros with later clang/gcc.
Using CCACHE_HASHDIR=1 fixes ccache v3.2.4, but CCACHE_NOHASHDIR=1 does
not break v3.7.1. The real issue/fix appears to be
ccache/ccache@284e3a0 , and using the hashdir option seems to only work
around this.
Unblocks https://github.com/neovim/neovim/pull/10480 , and
https://github.com/neovim/neovim/pull/10487 .
Ref: https://github.com/ccache/ccache/commit/6d9cb3dfdd9
Closes https://github.com/neovim/neovim/pull/10533 .
2019-07-17 19:41:19 +02:00
Daniel Hahler
31f879983f
third-party: use CXX only for BuildGperf ( #10512 )
...
This allows to build deps without g++ when not using the bundled gperf.
> make deps DEPS_CMAKE_FLAGS='-DUSE_BUNDLED_GPERF=0'
2019-07-15 22:27:29 +02:00
Daniel Hahler
44e150bd46
ci: Travis: use minimum supported CMake in one job ( #10445 )
2019-07-08 12:53:43 +02:00
Daniel Hahler
28a86608a8
CI: improve gcov handling #10404
...
- 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.
2019-07-07 21:09:37 +02:00
Daniel Hahler
38342d75f6
ci: fix/improve Travis cache handling [skip appveyor] ( #10412 )
...
This is meant to not fall back to using the cache for the "master"
target branch, for release pull requests (targeting not "master").
(Travis builds the cache key based on all (explicit) job environment
variables)
2019-07-07 18:07:01 +02:00
Daniel Hahler
c62690ccc4
ci: Travis: upgrade OSX images (10.1 => 10.2) ( #10319 )
...
* 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
2019-06-26 20:06:40 +02:00
Daniel Hahler
e28a7a366d
CI/Travis: restore ASAN build to first stage #10274
...
* ci: Travis: move ASAN build to first stage again
Ref: https://github.com/neovim/neovim/pull/10238#issuecomment-503556762
* rename stages
* move gcov to second stage, restore order
2019-06-20 01:51:41 +02:00
Daniel Hahler
352d5a9713
ci: Travis: move gcov job to baseline (no allowed failures) ( #10238 )
...
* ci: Travis: move gcov job to baseline (no allowed failures)
* ci: Travis: use two stages only
Moves CLANG_SANITIZER=ASAN_UBSAN to second stage.
2019-06-19 01:20:09 +02:00