Dundar Göc
89a844a9c7
ci: remove unused "squash typo" workflow
2021-12-20 23:47:04 +01:00
James McCoy
238da85126
Merge pull request #16524 from dundargoc/ci/optimize-brew
...
ci: remove "brew upgrade" from macos jobs
2021-12-09 21:15:07 -05:00
dundargoc
5b117bbc75
ci: install doxygen with conda instead of apt ( #16517 )
...
This provides a newer version of Doxygen (1.9.0 or later)
that fixes a bug in the documentation generator.
Closes #16498
2021-12-08 09:28:25 -07:00
Dundar Göc
c5af86b9b9
ci: remove "brew upgrade" from macos jobs
...
Packages are automatically upgraded on install. This will avoid
upgrading unrelated packages, cutting the macos job time to about a
half.
2021-12-04 23:44:52 +01:00
Dundar Göc
8cd1fa8945
ci: use tag v2 when using checkout action
...
Using v2 automatically fetches the latest minor patch for v2, meaning
free bug fixes without needing to manually update the tag version.
2021-12-04 13:24:46 +01:00
James McCoy
50c8cc3020
fix(ci/backport): check for event_name == "pull_request_target"
...
[skip ci]
2021-11-30 22:20:32 -05:00
James McCoy
7bd6f12b3e
ci!: remove win32 builds/releases
2021-11-14 08:51:39 -05:00
Christian Clason
2ef9d2a663
chore: disable creating a blank issue
2021-11-11 19:41:37 +01:00
James McCoy
14716e4619
ci(release): delete nightly/stable tag so release recreates it
...
Even though the releaes itself gets deleted, if the tag is not, then
creating a new release just re-uses the same tag, even though we're
using “--target <sha>”.
[skip ci]
2021-11-02 07:34:55 -04:00
James McCoy
ea2ce90cc6
ci: limit CI checks to the main dev branches
...
Now that we have various GH actions creating branches in the main repo,
using the generic '**' pattern for the CI workflow is just wasting CI
time and leading to more queued jobs.
[skip ci]
2021-10-31 20:05:52 -04:00
James McCoy
a1eea968a5
ci(backport): trigger on comments too, so "/backport" works
...
[skip ci]
2021-10-30 16:50:13 -04:00
James McCoy
9f5e736e5d
ci(backport): bump version to v0.0.7
...
[skip ci]
2021-10-30 16:33:20 -04:00
James McCoy
0c1b80efec
ci(backport): add write permissions for contents/pull_requests
...
The workflow needs to create commits and PRs.
[skip ci]
2021-10-30 16:29:02 -04:00
James McCoy
c819ce1fd4
ci(release): do not fail if stable/nightly release doesn't exist
...
[skip ci]
2021-10-30 14:02:04 -04:00
James McCoy
eede587b06
ci(release): re-publish "stable" release for versioned releases
...
[skip ci]
2021-10-30 14:02:04 -04:00
James McCoy
0ce800753e
ci(release): use gh cli instead of 3rd-party actions
...
Closes #15709
[skip ci]
2021-10-30 14:01:47 -04:00
Dundar Göc
a91a5c1880
ci: run functionaltest-lua on drafts as well
2021-10-28 10:55:26 +02:00
Michael Lingelbach
6cc456deeb
feat(ci): add backport PR action ( #14766 )
...
Trigger the backport action upon merge by marking a PR with the label `backport <branchname>` or after merge by applying the label and writing a comment containing `/backport`.
2021-10-26 08:45:15 -07:00
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
Dundar Göc
9039aa24b6
ci(commitlint): use action to checkout to pr branch directly
2021-10-19 09:58:30 +02:00
Rob Cowsill
4c4a41c70c
ci(labeler): Remove checkout steps
...
Sets GH_REPO and passes PR number to `gh`, making checkout unnecessary
2021-10-15 15:08:12 +01:00
Dundar Göc
348787a1b7
ci: make labeler also work for breaking changes
...
This means that
"refactor!: description"
and
"refactor(scope)!: description"
will add the "refactor" label.
2021-10-13 19:55:10 +02:00
dundargoc
f620008e59
ci: disable commit-lint on draft PRs #15958
2021-10-08 17:08:47 -07:00
Christian Clason
3b531d50a8
docs(contrib): recommend nvim --clean
#15917
2021-10-05 08:01:09 -07:00
dundargoc
7152353ade
ci: add type and scope from PR title as labels #15850
...
This only works if the label exists in the first place of course.
2021-09-30 08:08:36 -07:00
dundargoc
3246bf5f4e
ci(lintcommit.lua): replace third-party commitlint #15747
2021-09-26 12:13:59 -07:00
James McCoy
64a5eddc89
ci: use runner, instead of os, for job name and cache key
2021-09-24 09:01:50 -04:00
James McCoy
e0cf32c6de
ci: add macOS 11 build
2021-09-24 09:01:30 -04:00
Justin M. Keyes
77399184d7
ci(labeler): diagnostic
2021-09-18 13:29:56 -07:00
Justin M. Keyes
4b3ffde208
docs: issue templates
2021-08-22 17:37:08 -07:00
Justin M. Keyes
fb5db6c7cf
docs: issue templates
2021-08-22 16:56:41 -07:00
James McCoy
c6ef95606f
fix(ci): re-run GHA for ready_for_review events ( #15377 )
...
By default, the pull_request target only runs for the "opened",
"synchronize", and "reopened" events.
Since we've disabled GHA CI for "draft" PRs, the "ready_for_review"
event also needs to be included so CI is automatically run when leaving
draft status.
2021-08-15 15:27:50 +02:00
James McCoy
084b28bec8
Merge pull request #15367 from jamessan/release-fixes
...
Clean up release handling
2021-08-14 21:22:13 -04:00
James McCoy
6f965f41df
build: use RelWithDebInfo build for nightlies, Release for releases
...
Unlike Release build type, RelWithDebInfo does not disable asserts.
This helps get better debug info from people brave enough to use the
nightly builds, but shouldn't be used for official releases.
[skip ci]
2021-08-13 23:32:15 -04:00
dundargoc
ce172d8d4a
ci: fix typo squasher by changing trigger to "pull_request_target" ( #15357 )
...
The "pull_request" trigger only enables read-access for forks,
"pull_request_target" is required if a fork is to be a trigger. Also
changed the python script to reflect this change.
2021-08-13 15:18:15 +02:00
Dundar Göc
20c1e5757d
chore: link to Discourse when choosing issue template for user questions
2021-08-13 10:34:20 +02:00
Dundar Göc
f43a8f0eda
ci: make all questions mandatory in bug template
2021-08-10 12:18:55 +02:00
dundargoc
7dbbd5d8b1
ci: create GitHub Action that squashes all typo PRs into a single PR ( #15041 )
...
The action adds all pull-request authors (and Marvim) as a co-author to the
newly created PR and also links to the closed PRs.
2021-08-09 15:21:50 +02:00
dundargoc
a2909aa35f
ci(labeler): apply label tests if only files under test have changed ( #15305 )
2021-08-08 11:03:55 +02:00
Christian Clason
35041432bf
ci(forms): fix "vim" description in bug template
...
Make clear that the version should be specified in any case, including patch level
2021-08-07 18:14:03 +02:00
dundargoc
a1cc146405
ci(labeler): apply documentation label only for changes exclusively in runtime/doc/* ( #15298 )
2021-08-07 10:36:15 +02:00
dundargoc
f22326ef09
ci(labeler): add "tests" and "ci" labels to the labeler action ( #15287 )
...
Also added "CONTRIBUTING.md" file under the "documentation" label since
it gets changed fairly often.
2021-08-06 13:15:29 +02:00
dundargoc
22072b11e8
ci(labeler): fix syntax so changes under src/nvim/lua are registered ( #15285 )
...
The labeler action requires a glob (*) to denote files under a
directory.
2021-08-06 12:16:24 +02:00
dundargoc
3f9a838454
ci: disable false "footer-leading-blank" warning from commitlint ( #15238 )
2021-08-02 11:22:43 +02:00
Matthieu Coudron
535c762ff7
Merge pull request #15129 from dundargoc/action/commitlint
...
ci: add commit linter to GitHub Actions.
2021-08-02 00:08:31 +02:00
Dundar Göc
5f3f4263b4
ci: add commit linter to GitHub Actions
2021-08-01 12:45:17 +02:00
Christian Clason
143a920de9
chore: fix lsp bug issue template
...
correct description for expected behavior
2021-07-29 16:35:02 +02:00
Christian Clason
1d3aaae15c
chore: fix bug issue template form
...
description for "expected behavior" was wrongly attached to "actual behavior"
2021-07-29 16:17:58 +02:00
Christian Clason
ac5139eae4
ci(labeler): adapt to new label names
2021-07-28 17:29:27 +02:00
dundargoc
6c08af083d
ci: label PRs only the first time they're opened ( #15209 )
...
instead of on every change -- including removing erroneous labels
2021-07-28 11:30:08 +02:00
Christian Clason
701c21480e
ci(labeler): update label format
2021-07-28 10:10:45 +02:00
Christian Clason
1637622db9
chore: remove checkbox from issue template
...
Checkboxes trigger "task lists", which add noise.
2021-07-26 17:31:27 +02:00
dundargoc
bebca7bbeb
chore: update LSP bug report with Github issue forms ( #15159 )
2021-07-25 16:07:20 +02:00
dundargoc
1aef6297b3
chore: update feature request template by using Github issue forms. ( #15158 )
2021-07-25 16:06:19 +02:00
dundargoc
e5f3abfd17
chore: update bug report template by using Github's new issue forms ( #15152 )
2021-07-25 16:05:11 +02:00
Björn Linse
13db912e51
fix(ci): lower timeout to 45 minutes (from default 360 mins)
2021-07-24 10:23:15 +02:00
Christian Clason
6f48c018b5
Revert "fix(ci): remove mongodb from brew to avoid brew upgrade error ( #15115 )" ( #15141 )
...
This reverts commit 5377b2b00a
.
(Fix no longer needed.)
2021-07-20 23:30:32 +02:00
Oliver Marriott
5377b2b00a
fix(ci): remove mongodb from brew to avoid brew upgrade error ( #15115 )
...
macOS CI was failing because:
- brew upgrade fails because,
- mongodb-community cant upgrade because,
- some symlinks are owned by ... mongodb-community...
We don't use mogodb, so we can just remove it wholesale.
2021-07-17 16:59:39 +02:00
Oliver Marriott
d1c906a7c6
feat(ci): Add sha256 checksums to release notes
2021-07-02 05:06:21 +10:00
James McCoy
2fc9e9effa
ci(gha): Add functionaltest-lua checker
2021-06-29 21:46:46 -04:00
Christian Clason
f969b4bfb1
fix(ci): change autolabel to "treesitter"
...
Open issues and PRs are almost all labeled `treesitter` instead of `tree-sitter`; this change improves consistency.
2021-06-29 18:54:27 +02:00
glacambre
04ad196b4e
ci: upgrade to gcc-11 on ubuntu-18.04
...
In https://github.com/neovim/neovim/issues/14150 , investigations showed
that using an older gcc to build the appimage could result in severe
perf issues. This is because older gcc versions happily replace calls to
libc functions with their own, which happen to be less optimized than
their libc counterparts.
We fix this problem by upgrading to gcc-11 on ubuntu-18.04.
2021-06-16 17:54:14 +02:00
Thomas Vigouroux
7b0836ed01
ci: correctly label dependencies PRs
...
Configures the labeler to handle PRs related to third-party.
2021-06-11 16:17:41 +02:00
James McCoy
04985f69eb
fix(ci): Remove gcc@8/gcc@9 homebrew workaround
2021-06-04 11:21:45 -04:00
James McCoy
efef508ec6
ci(gha): New workflow to regen API docs on pushes to release branches
...
Upon pushing updates to files which may contain API documentation, the
workflow will regenerate the docs and, if there are relevant changes,
create a PR targeting the source branch.
[skip ci]
2021-05-31 22:52:44 -04:00
Matthieu Coudron
c40de6e5f5
feat(ci): autolabel pull requests ( #14574 )
...
autolabel pull requests depending on which files are modified
2021-05-18 09:37:18 +02:00
James McCoy
7ae1417ad5
ci(coverity): Fix typo in tar command
...
[skip ci]
2021-05-05 12:54:47 -04:00
James McCoy
554468cc03
Merge pull request #14493 from jamessan/ci-updates
2021-05-05 11:48:08 -04:00
James McCoy
3bebe60121
ci(gha): Run ci workflow for PRs into release branches
2021-05-05 09:21:12 -04:00
James McCoy
26f5b979ec
ci(gha): Add weekly Coverity scans
...
[skip ci]
2021-05-05 08:54:03 -04:00
James McCoy
0ee52fba31
ci(gha/ci): Use clang-12 for TSAN
2021-05-02 22:24:28 -04:00
James McCoy
14c692bc82
ci(gha/release): Bump to ubuntu-18.04
...
Per https://wiki.ubuntu.com/Releases , 16.04 is no longer under standard
support. Switch to the next LTS, 18.04, for the next couple years.
2021-05-02 16:27:37 -04:00
Marco Hinz
04a33c1d9a
template: make sure people read :h vim-differences
2021-05-02 13:52:01 +02:00
James McCoy
0ab1f9ff3f
ci(gha/vim-patches): Create PR against branch running the workflow
...
Avoids hard-coding branch names.
[skip ci]
2021-04-26 23:45:40 -04:00
James McCoy
2601296c3f
ci(gha): Rename nightly workflow to vim-patches
...
[skip ci]
2021-04-26 23:45:40 -04:00
James McCoy
3047a909a2
ci(gha/nightly): Enable "contents: write" permissions to setup PR
...
[skip ci]
2021-04-26 23:45:36 -04:00
James McCoy
62df537543
ci(gha/release): Enable "contents: write" permission to publish release
2021-04-21 00:32:38 -04:00
James McCoy
491708c989
ci(gha/win): Specify valid directory for DEPS_BUILD_DIR
2021-04-21 00:14:51 -04:00
James McCoy
9a01833d90
ci(gha): Simplify clang installation
2021-04-21 00:14:51 -04:00
James McCoy
74f8196935
ci(gha): Update to clang-12
2021-04-21 00:14:43 -04:00
Michael Lingelbach
dcb447dafd
issue template: add reference to discourse and minimal config in lsp issue template
2021-04-05 14:47:59 -07:00
James McCoy
eca091a77c
ci(gh): Automatically create PR for version.c updates
...
[skip ci]
2021-03-20 12:11:22 -04:00
James McCoy
ba758ac553
ci(GHA/release): Delete the release when creating a new nightly
...
This reverts #13733 . Disabling delete of the release leaves behind a
draft release associated with the previous nightly tag, which is
annoying to cleanup.
In the rare circumstances that the creation of a new nightly fails after
deleting the previous nightly, the job can be re-run or a nightly can be
missing for a day.
2021-03-14 19:53:45 -04:00
James McCoy
a8694ff9c1
Merge pull request #14139 from jamessan/release-packages
...
ci(GHA/release): Stop installing gcc-multilib
2021-03-14 19:37:00 -04:00
James McCoy
dfa01b820f
ci(GHA/release): Stop installing gcc-multilib
...
Recent changes in Xenial have made it uninstallable and we aren't
actually using anything from it for the release builds.
2021-03-14 19:27:50 -04:00
smolck
f2847e7ea1
Don't run CI on draft PRs
2021-03-14 17:23:57 -05:00
Jan Edmund Lazo
78620dbd28
ci(GHA): install perl on osx
...
Fix missing header files in system perl.
2021-01-17 12:42:28 -05:00
James McCoy
6d67cf8647
ci(gha): brew unlink gcc@8/@9 to fix upgrade issues
2021-01-11 00:01:37 -05:00
James McCoy
0f03b3f3aa
ci(gha): brew upgrade before installing
2021-01-10 23:40:30 -05:00
Michał Kiełbowicz
3d41ce90df
Do not delete the nightly release
2021-01-10 23:29:34 +01:00
Collided Scope
84d08358b7
ci: Fix typo in release.yml that prevents optimized nightly build ( #13671 )
...
Assuming the `CMAKE_BUILD_TYPE` directive is case-sensitive, this *actually* prevents the nightly build from being optimized. Even if it doesn't, the typo causes `:checkhealth` to issue a dummy warning in the Performance section.
2021-01-03 02:19:03 +01:00
James McCoy
0aa6b40599
ci: Add Windows binaries to the release
2020-12-31 00:14:37 -05:00
James McCoy
2f1dc21379
ci(GHA): Disable fail-fast for CI checks
2020-12-30 09:52:42 -05:00
James McCoy
a06c256ec8
Merge pull request #13540 from erw7/add-gha-for-windows-vs2017
2020-12-28 21:15:38 -05:00
notomo
b931a554d7
GHA/osx: workaround for brew update error ( #13584 )
2020-12-22 08:47:46 -05:00
Jan Edmund Lazo
fb0ecf9e70
GHA/osx: remove python 2to3
2020-12-19 14:18:26 -05:00
erw7
934b8e172e
GHA: integrate unix and windows settings
2020-12-17 15:47:11 +09:00
erw7
abdb2b4d29
GHA: fix build problems on Windows
2020-12-16 15:27:35 +09:00
Thomas Vigouroux
d7051705d0
ci: setup GitHub actions for windows
2020-12-16 13:12:14 +09:00
James McCoy
50a76a0e5d
Revert "Use oldest macOS version for release workflow"
2020-12-11 13:07:07 -05:00
Mitchell Hanberg
81aa780909
Use oldest macOS version for release workflow
2020-12-11 11:57:19 -05:00
James McCoy
3881bc2295
GHA: Use oldest OS images to build releases
...
Closes #13493
2020-12-09 07:39:20 -05:00
James McCoy
b32124fce2
GHA: Perform a full checkout for release workflow
...
This is needed to get a tag-based version from `git describe` rather
than just the commit.
2020-12-06 21:01:11 -05:00
James McCoy
f4809916d3
GHA: Include runtime in macos release tarball
2020-12-06 16:47:12 -05:00
James McCoy
f9bd3f9cb5
GHA: Use full version in release description
...
Closes #13466
2020-12-06 09:50:16 -05:00
James McCoy
cdf362a488
GHA: Fix event_name check for nightly builds
2020-12-06 09:00:47 -05:00
James McCoy
44ba5c4168
GHA: Delete nightly tag before creating new release
2020-12-05 20:14:51 -05:00
James McCoy
18360290d0
GHA: Generate correct appimage for release/nightly
2020-12-05 13:04:33 -05:00
James McCoy
dfc4111e42
GHA: Do not run CI for tags
2020-12-05 13:04:25 -05:00
James McCoy
e11f3fb726
GHA: Rename "Nightly release" to "Release"
2020-12-05 13:04:02 -05:00
James McCoy
f7fd7ba745
GHA: Automatically create a release for versioned tags
2020-12-05 13:03:57 -05:00
James McCoy
7ab458f929
GHA: Add support for manually creating a release
2020-12-05 13:01:57 -05:00
James McCoy
1b53544111
GHA: Use meeDamian/github-release to create/update release
2020-12-05 13:01:38 -05:00
James McCoy
8997c8b563
GHA: Build appimage for nightly
2020-12-04 21:07:06 -05:00
James McCoy
fd53e5ee2c
GHA: Stop installing test dependencies for nightly build
2020-12-04 20:50:54 -05:00
James McCoy
16157258be
GHA: Publish nightly builds for Linux and macOS
2020-12-04 11:25:14 -05:00
James McCoy
0bb565b13b
GHA: Force CCACHE_DIR=$HOME/.ccache
2020-11-24 21:26:03 -05:00
James McCoy
0d7777e9bc
GHA: brew required software
2020-11-24 21:26:02 -05:00
James McCoy
36fe82ff98
env.sh: Handle no flavor being specified
2020-11-24 21:26:02 -05:00
James McCoy
0c022c03ee
GHA: Add macOS CI
2020-11-24 21:26:02 -05:00
James McCoy
1731ef3176
GHA: Rename linux workflow to CI
2020-11-24 21:26:01 -05:00
James McCoy
1e7d937e16
GHA: Switch to ubuntu-20.04 image for Linux
...
Stop explicitly installing Ubuntu's python package, since most of the
Python 2 packages (and importantly pip/setuptools) have been removed in
this Ubuntu version.
2020-11-23 08:42:24 -05:00
rockerBOO
2fb778c2ae
docs: Change nvim_lsp to lspconfig
2020-11-16 11:35:34 -05:00
rockerBOO
ecbcca44e7
docs: Update ISSUE_TEMPLATE for lsp_bug_report
2020-11-16 03:47:23 -05:00
James McCoy
af88b0891e
GHA: Add tsan job to the matrix
2020-11-14 21:29:02 -05:00
James McCoy
3b0a729f9c
GHA: Use matrix to de-duplicate workflow definition
...
The general skeleton of each job is the same, so consolidate the
definition to a single job with an explicit matrix.
Use conditional steps to handle steps that are unique to a certain job
(e.g., installing clang-11 for better ASAN support).
2020-11-14 21:29: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
5271f1e2c9
GHA: Move env var setup into env.sh to keep it DRY
2020-11-14 21:28:12 -05:00
James McCoy
c96acac4d3
GHA: Invalidate cache if cmake files or third-party/ change
2020-11-13 13:38:12 -05:00
James McCoy
c7443b82a9
GHA: Update cache directory if all steps succeeded
2020-11-13 13:36:58 -05:00
James McCoy
ef0d558a3b
GHA: Include ccache output in cache
2020-11-13 13:36:58 -05:00
James McCoy
808eb44f4a
GHA: Add ~/.local/bin to $PATH
2020-11-13 13:36:57 -05:00
James McCoy
e2e032a52a
GHA: Add lint job to Linux workflow
2020-11-13 13:36:57 -05:00
James McCoy
eb2aaed5cc
Add Linux ASAN GitHub Action
2020-11-13 13:36:56 -05:00
Marco Hinz
bd7360b39a
funding: Bountysource Salt -> GitHub Sponsors & Open Collective [ci skip] ( #12959 )
...
We have a GitHub Sponsors page for the neovim organization now:
- https://github.com/sponsors/neovim
It can be reached by clicking on the "Sponsor" button on the
[organization page](https://github.com/neovim ).
This commit replaces Salt by GitHub Sponsors and Open Collective.
2020-09-21 20:47:02 +02:00
Hirokazu Hata
d7f2318ada
issue template: fix label syntax for lsp bug report
2020-06-11 08:18:12 +09:00
Hirokazu Hata
9aba7f122c
add GitHub issue template for lsp
2020-06-11 06:12:37 +09:00
Justin M. Keyes
2ef6f28e11
doc [ci skip] #10177
...
ref #10278 #10279 #10353
2019-06-30 00:09:45 +02:00