aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
Commit message (Collapse)AuthorAge
* ci(release): remove unnecessary full clonedundargoc2023-09-09
|
* ci: remove container solution for the linux runnerdundargoc2023-09-09
| | | | | | | | This will fix the failing release job. Ubuntu 18.04 is incompatible with checkout action version 4, which requires glibc 2.28+. This will bump the minimum glibc version required to use the release versions to 2.31. People requring the older releases can find them at https://github.com/neovim/neovim-releases.
* ci: bump actions/checkout from 3 to 4dependabot[bot]2023-09-04
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* ci: make install_deps.sh more flexibledundargoc2023-04-29
| | | | This will allow us to use it in containers as well as specify whether we want to install test dependencies.
* ci: reuse script to enable Developer Command Promptdundargoc2023-04-23
|
* ci: make all linux releases work with same glibc versiondundargoc2023-04-22
|
* ci(release/winget): get msi from previous job instead of downloading Vedant2023-04-10
|
* ci: don't automatically enable -Werror on CI environmentsdundargoc2023-04-07
| | | | | | This catches downstream consumers of neovim off guard when using neovim in an esoteric environment not tested in our own CI. Closes https://github.com/neovim/neovim/issues/22932
* ci!: remove the .deb release (#22773)dundargoc2023-04-05
| | | | | | | | | | | | | | | | | | | Having multiple release artifacts per platform is a maintenance burden. Furthermore, it is a maintenance burden that doesn't directly improve the Nvim editor itself. The releases are meant to be a quick way for users to try out and use neovim on their platform and was never intended to be a buffet of releases for every conceivable setup. Users are encouraged to the following replacements: - Github action `action-setup-vim` to have neovim installed on their PATH for their CI jobs. See https://github.com/rhysd/action-setup-vim. - Use the appimage, either as is or by extracting it - To use as is, run `chmod u+x nvim.appimage && ./nvim.appimage` - If your system does not have FUSE you can extract the appimage with `./nvim.appimage --appimage-extract && ./squashfs-root/usr/bin/nvim` - Build it manually. See https://github.com/neovim/neovim/wiki/Building-Neovim. Work on https://github.com/neovim/neovim/issues/22684
* fix(ci/release/winget): bump action versionVedant2023-02-20
|
* ci: enable CI_BUILD automatically if environment variable CI is true (#22312)dundargoc2023-02-18
| | | | | | | Having to specify CI_BUILD for every CI job requires boilerplate. More importantly, it's easy to forget to enable CI_BUILD, as seen by 8a20f9f98a90a7a43aea08fcde2c40a5356b4f7b. It's simpler to remember to turn CI_BUILD off when a job errors instead of remembering that every new job should have CI_BUILD on.
* ci: remove former dependencies that are no longer needed (#22301)dundargoc2023-02-18
| | | | | | | | | libtool, autoconf, automake and perl are no longer dependencies of neovim and doesn't need to be installed in CI anymore. The dependencies and the commit that removed them as dependencies are the following: libtool: b05100a9eaad5980ea7652137bc4a1c2d15d752f perl: 20a932cb72cf077d54e3498ef93341ffe3d4cdbb autoconf+automake: e23c5fda0a3fe385af615372c474d4dad3b74464
* ci: inline external environment scripts (#22237)dundargoc2023-02-12
| | | | Scripts that define the build itself shouldn't be external as they lead to hard to find bugs.
* ci: remove unnecessary environment variables (#22175)dundargoc2023-02-10
|
* ci: add universal macos job (#22156)dundargoc2023-02-07
| | | | | The universal macos release is particularly sensitive to build system changes. Adding a job that builds a universal binary whenever a cmake file is changed will help prevent future release breaks.
* ci(release): properly set multiline output variable (#21560)zeertzjq2022-12-28
|
* ci(release/winget): correctly set output variable (#21077)Vedant2022-11-17
|
* ci: replace deprecated feature set-output (#20834)dundargoc2022-11-05
| | | | | The new recommended way to share values between Github Actions steps is to use environment files: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
* ci: remove ci/build.ps1 (#20891)dundargoc2022-11-05
| | | | Main benefit is that this will return the correct exit code by default, meaning the lengthy workarounds to properly fail a test aren't needed.
* ci: use ubuntu docker container to build appimagemliszcz2022-10-07
| | | | | | | | Switch back to Ubuntu 18.04 for buliding the appimage. This allows for using the appimage on older systems that do not provide GLIBC_2.29. Fixes #19711. Fixes #20113.
* ci(publish-winget): use versioned tags for action #20417Vedant2022-10-01
|
* ci(release): remove unnecessary matrix strategydundargoc2022-09-30
| | | | We only have one Windows release job, so the matrix setup isn't needed.
* build(macos): restore and test universal build (#20383)Christian Clason2022-09-28
| | | | Build tree-sitter parsers for arm64 as well as x86 Check that all created binaries contain both architectures
* ci(publish-winget): fix errors that prevents release (#20232)Vedant2022-09-19
|
* ci(release-winget): publish nightly winget prerelease #20209Vedant2022-09-16
|
* ci(release): move release-winget steps into release job #19689Vedant2022-08-13
|
* ci(release): build with standard gcc on UbuntuChristian Clason2022-08-09
| | | | Ubuntu-20.04 ships with GCC 10.3.0, which is enough to avoid #14150
* ci(release): bump deprecated ubuntu image to 20.04Christian Clason2022-08-09
| | | | | `ubuntu-18.04` is now deprecated and subject to outages, see https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
* ci(release): use cpack on macOS #19459Carlo Cabrera2022-07-22
| | | | We use `cpack` to generate the release tarballs on Linux. Now that we don't need to bundle `libintl`, we can do the same on macOS.
* ci(windows): config and build before publish step (#19416)kylo2522022-07-18
| | | | Problem: Windows package step failed (silently). Solution: Make sure to configure cmake before attempting to build the package target.
* ci: refactor build.ps1 #19336kylo2522022-07-17
| | | | | | | | | | | | Refactor `build.ps1` into a more modular design https://github.com/neovim/neovim/blob/9728f3b558c8cf9bd2bc331de8a5cc80ba0d3797/.github/workflows/ci.yml#L283-L296 - Separate CI steps. - Remove unneeded code related to setting up CMake. - Use parallel/incremental builds. - Fix github's cache. - Clear the way for the possibility of replacing this file with a cmake-preset: https://github.com/neovim/neovim/pull/19128
* ci(release): link `gettext` include directoryCarlo Cabrera2022-06-29
| | | | | | Our previous mangling of gettext broke the `HAVE_WORKING_LIBINTL` test because it prevented CMake from finding `libintl.h`. Let's fix that by linking Gettext's `include` directory into `/usr/local` too.
* refactor(ci): cleanup release.yml #19132Vedant2022-06-28
|
* ci(release): build a universal binary on macOSCarlo Cabrera2022-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | After some tweaks to our dep builds, we can now build a universal binary for macOS by using `CMAKE_OSX_ARCHITECTURES`. So, let's do that. This requires a number of additional changes: 1. We need to build on macOS 11, since earlier versions do not support building universal (M1 + Intel) binaries. 2. We need to provision a universal `libintl`. The linker will look for an ARM64 version of this library when linking the `nvim` binary. While we're here: 1. Link statically to `libintl`. This allows to to avoid having to do any install name rewriting or codesigning to package Neovim. 2. Bump the `MACOSX_DEPLOYMENT_TARGET` to `11`. We're already using a `libintl` built by Homebrew (through the pre-installed version of `gettext`), and that is built for macOS 11. In order to ensure we link to `libintl.a` instead of `libintl.dylib`, we have to make sure that CMake can't find the latter. This ideally should be a matter of doing `brew unlink gettext`. However, CMake is too adept at finding things that Homebrew has installed (even when not linked), so we have to do a bit more than that. This appears in the additional step ensuring static linkage to `libintl`. We end up breaking some Homebrew-installed software in the process, and some of these software is called during our build (e.g. curl, git, wget). To avoid any adverse effects, let's just uninstall them.
* ci(release): skip CoreServices system library on macOS (#19021)Christian Clason2022-06-19
| | | | | | | | | | Problem: The release script bundles a system library (CoreServices) that was added in #18294, which leads to errors on M1 since the architecture is different from the Github runner. Solution: Skip CoreServices when bundling the libraries (as was done for the CoreFoundation library that #18294 replaced with CoreServices).
* ci: bump github actions versions #18616dundargoc2022-05-20
|
* ci: remove remnants of gperf #18550Justin M. Keyes2022-05-12
| | | | gperf was removed in 36613b888bae7df764a26a28ca1627a2c0c2edeb yay!
* refactor(packaging): Windows: improve MSI, remove NSIS #18069Henry Fraser2022-04-11
| | | | | | | | | | - Removed NSIS installer. - Prevents undefined behaviour when two installations are performed to the same directory (NSIS + MSI). - Reduced cost of maintaining two installers that do the same thing. - Chose Wix MSI due to its better integration with Windows. - Added Wix patch file to add neovim binaries to the system path during installation. - Replaced neovim installer icons with better looking versions. - Renamed neovim installer icons from logo.ico -> neovim.ico for all icons to better reflect contents.
* ci(macos): minimize log output from brew updateDundar Göc2022-03-07
| | | | | Also remove perl from brew install to prevent a warning that states it's already installed.
* Merge pull request #17467 from dundargoc/ci/remove-failing-windowsJames McCoy2022-02-25
|\ | | | | ci: remove failing windows CI tests
| * ci: bump Windows image to windows-2019James McCoy2022-02-20
| | | | | | | | | | | | | | | | The VS 2019 CMake generator no longer has different generator types for different architectures. Now, the architecture is specified via CMake's `-A` switch. However, this requires we also propagate `${CMAKE_GENERATOR_PLATFORM}` to the bundled deps, so they build for the same architecture as Nvim.
* | ci: improved cpack packagingHenry Fraser2022-02-24
|/ | | | | | | | | | | | | | | | | | | | | | Addresses: #12571 - Added the following installers through CMake files: - Windows NSIS. - Windows MSI. - Windows zip. - MacOs tarball. - Linux tarball. - Linux Deb package. - Tweaked pipeline CPack commands to build using new CMakeLists.txt configuration file. - Added icons and relevant packaging files. - Updated notes.md to reflect new installation instructions. This isn't meant to be the perfect solution, it's simply a first pass at using a simple packaging system to build Windows installers. A Debian package has also been added since it's very easy but other packages have been left out due to limiting the scope. Hopefully we can build further upon this and improve it over time with code signing, better icons and more user-friendly installation graphics and so on.
* ci(release): enable gh's api debug logs when creating the releaseJames McCoy2022-01-12
| | | | | | | This is intended to help track down why the release is sporadically left in draft state, rather than being published. [skip ci]
* ci: remove outdated brew workaround that isn't needed anymoreDundar Göc2021-12-31
|
* ci: remove "brew upgrade" from macos jobsDundar Göc2021-12-04
| | | | | | Packages are automatically upgraded on install. This will avoid upgrading unrelated packages, cutting the macos job time to about a half.
* ci!: remove win32 builds/releasesJames McCoy2021-11-14
|
* ci(release): delete nightly/stable tag so release recreates itJames McCoy2021-11-02
| | | | | | | | 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]
* ci(release): do not fail if stable/nightly release doesn't existJames McCoy2021-10-30
| | | | [skip ci]
* ci(release): re-publish "stable" release for versioned releasesJames McCoy2021-10-30
| | | | [skip ci]
* ci(release): use gh cli instead of 3rd-party actionsJames McCoy2021-10-30
| | | | | | Closes #15709 [skip ci]