zeertzjq
29eabbcd07
ci: use a separate script for request review workflow
2022-02-14 07:47:10 +08:00
zeertzjq
1be9549e6b
ci: only request review on open non-draft PRs
2022-02-13 19:17:18 +08:00
James McCoy
e126fbc971
Merge pull request #17376 from dundargoc/ci/reviews/upgrade-to-v6
...
ci(reviews): upgrade github-script version to v6
2022-02-12 07:09:43 -05:00
Dundar Göc
f052e0bd11
ci(reviews): upgrade github-script version to v6
2022-02-12 11:20:00 +01:00
Dundar Göc
0c901baee1
revert: "ci: use continue-on-error instead of "|| true""
...
This reverts commit 559aa4179c
.
I mistakenly believed both ways of writing were equivalent; this is
untrue. Setting continue-on-error to true will make the job pass, but
an error annotation will still be created which is misleading since it's
not actually an error.
2022-02-12 11:03:32 +01:00
Dundar Göc
e957697334
ci: fix reviews workflow by sending an artifact with PR number
2022-02-11 15:12:41 +01:00
Dundar Göc
b0bcbb08a9
ci: add reviewers if labels are manually added after PR creation
2022-02-10 18:06:36 +01:00
Dundar Göc
afac1b5d87
ci: add more reviewers based on label
2022-02-09 10:47:14 +01:00
Dundar Göc
79bacb0973
ci: add write permissions to add-reviewer job
2022-02-08 14:56:46 +01:00
Dundar Göc
fde169f328
ci: add reviewers based on label
2022-02-07 21:25:45 +01:00
James McCoy
707cc1a167
ci(commitlint): use lintcommit.lua from main repo
...
[skip ci]
2022-02-06 08:31:23 -05:00
zeertzjq
6eb8c0c0c8
ci: add intercept_tls_get_addr=0 to ASAN_OPTIONS
2022-01-27 23:16:33 +08:00
James McCoy
66076e5e1b
ci: create automated PRs as draft PRs
...
GH workflows aren't allowed to trigger other GH workflows. Since
commitlint is a required check now, we need something manual to happen
for it to run on vim-patch/api-doc PRs.
Creating these PRs as drafts and then marking them as "ready to review"
when we want to merge them will provide the manual trigger to run
commitlint.
[skip ci]
2022-01-17 13:36:01 -05:00
James McCoy
8f54b88a5e
Merge pull request #17122 from dundargoc/ci/remove-non-working-job
...
ci: remove non-working add-reviewer job
2022-01-17 13:11:46 -05:00
Dundar Göc
6c1d6f3dd6
ci: remove non-working add-reviewer job
2022-01-17 18:48:08 +01:00
James McCoy
69b2dd175c
ci(api-docs): avoid running ci for doc commits
2022-01-17 12:21:16 -05:00
James McCoy
d7e2229b41
ci(commitlint): use pull_request_target to avoid "skip ci"
2022-01-17 12:21:09 -05:00
James McCoy
5bd7ae5b0f
ci(release): enable gh's api debug logs when creating the release
...
This is intended to help track down why the release is sporadically left
in draft state, rather than being published.
[skip ci]
2022-01-12 07:13:25 -05:00
Dundar Göc
f29a4ec553
ci: add a continue-on-error to the add-reviewer jobs
...
This is to circumvent a limitation in GitHub Actions that requires
special organization access in order to add any reviewers.
2022-01-09 19:57:25 +01:00
Dundar Göc
fd71162428
ci: add reviewer based on label
...
Also remove CODEOWNERS since this is a superior solution.
2022-01-09 11:30:05 +01:00
James McCoy
2e5bafa04c
Merge pull request #17000 from dundargoc/ci/use-continue-on-error
...
ci: use continue-on-error instead of "|| true"
2022-01-08 16:10:47 -05:00
Dundar Göc
559aa4179c
ci: use continue-on-error instead of "|| true"
...
The intention is clearer and doesn't rely on shell-isms.
2022-01-08 15:31:14 +01:00
Dundar Göc
c2b9dea4ba
ci: set CLANG_SANITIZER variable to TSAN when running the tsan job
2022-01-07 20:20:02 +01:00
Dundar Göc
df06c36932
ci: run type-scope job after the triage job
...
This should prevent the scenario of one job accidentally removing a
relevant label from the other.
2022-01-07 13:32:14 +01:00
dundargoc
0b0c4f7dfa
chore: fix typos ( #16816 )
...
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Sebastian Volland <seb@baunz.net>
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2022-01-04 11:07:40 -07:00
Dundar Göc
ec615abd1f
ci: install flake8 with apt instead of pip
2022-01-03 21:54:23 +01:00
Dundar Göc
e71fbf2eb0
ci: remove unnecessary before_install script
2022-01-02 23:46:46 +01:00
James McCoy
b0993bdc45
Merge pull request #16853 from jamessan/clint-master-only
...
ci: run lint only on master branch
2022-01-02 14:07:01 -05:00
James McCoy
e5f7b61136
Merge pull request #16840 from zeertzjq/ci-clang-13
...
ci: bump clang version to 13 in asan and tsan
2022-01-01 11:43:38 -05:00
zeertzjq
6a932f68e6
ci: bump clang version to 13 in asan and tsan
2022-01-01 06:24:48 +08:00
James McCoy
35034da779
ci: run lint only on master branch
...
The list of known lint issues is only updated for the master branch, so
other branches report lots of false positive issues.
2021-12-31 12:09:23 -05:00
Dundar Göc
2a12e8ddfd
ci: remove outdated brew workaround that isn't needed anymore
2021-12-31 13:09:01 +01:00
James McCoy
094c3f2b54
ci: cancel in-progress CI if a PR is updated
...
[skip ci]
2021-12-25 11:11:54 -05:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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