yvt
aa4394ce12
chore(ci): match `*-macos` by checking suffix
...
Simplifies a conditional expression in the CI workflow configuration.
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
yvt
4461090c3d
chore(ci): build binary for aarch64-macos
...
The tests are conditionally disabled for this target because the x86_64 CI
host is unable to run AArch64 binaries. (There is no officially-supported
reverse Rosetta 2.)
2 years ago
Michael Davis
0035c29fc1
Use a minimal binary to fetch grammar sources in release CI ( #2557 )
...
This is an optimization for the release CI. The release CI can take
a while since it compiles release builds for all operating systems.
We cut down on duplicate work and overall time by fetching
tree-sitter grammar repositories and then using those repositories
in all later steps. Previously we built all of helix just to run
helix_loader::grammar::fetch_grammars()
which is wasteful on time. With this change we only build the
helix-loader crate.
3 years ago
Blaž Hrastnik
a106341fd7
Fix release action
3 years ago
Michael Davis
f6531c9db0
inherit rust toolchain channel from rust-toolchain.toml
...
We've forked actions-rs/toolchain and merged
https://github.com/actions-rs/toolchain/pull/209
so we can take advantage of full support of `rust-toolchain.toml`.
Without that PR, the action fails because the `rustup` version
built into the runners by default is too old. #2528 covers switching
back to the upstream when it includes those changes.
3 years ago
Blaž Hrastnik
35303f749e
Replace handwritten CI cache with Swatinem/rust-cache
...
The cache kept growing as dependencies kept changing and updating.
3 years ago
Matthew Toohey
e452b97cdc
AppImage ( #2089 )
...
* Add desktop entry file
Co-authored-by: NNB <n.at@aleeas.com>
* Add placeholder icon for AppImage
* Add AppImage step to release workflow
* Exclude grammar sources from AppImage
Co-authored-by: NNB <n.at@aleeas.com>
3 years ago
Benedikt Müller
1fb6144432
Add shell completion ( #2022 )
...
* Add shell completion
* Add shell completion to release
3 years ago
dependabot[bot]
f9ddc8a9ac
build(deps): bump actions/download-artifact from 2 to 3 ( #2082 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Michael Davis
838cfcc7cd
publish a source tarball with version and grammars ( #1875 )
...
* publish a source tarball with version and grammars
* include_str! the release version from a VERSION file
* remove setting of .version file from tag
don't need this anymore since the file is checked into source
3 years ago
Michael Davis
61828ea519
use 'cargo test --workspace' in CI ( #1793 )
...
79caa7b72b
setup helix-term as the
default workspace member (which I believe is done to avoid building
xtask on every compile). This changes the behavior of 'cargo test'
though so that it only runs helix-term tests by default. To run all
tests, we switch to 'cargo test --workspace'.
3 years ago
Michael Davis
b157c5a8a4
fetch and compile tree-sitter grammars in helix-term build
...
This restores much of the behavior that existed before this PR:
helix will build the grammars when compiling. The difference is that
now fetching is also done during the build phase and is done much
more quickly - both shallow and in parallel.
3 years ago
Michael Davis
db3470d973
ensure rust grammar is available in CI
3 years ago
dependabot[bot]
0d0165b76e
build(deps): bump actions/checkout from 2 to 3 ( #1767 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
1493ff7657
build(deps): bump actions/upload-artifact from 2.3.1 to 3 ( #1766 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
692ed7500f
build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1 ( #1316 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
10ad25b95b
build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.0 ( #1263 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Blaž Hrastnik
dbd1f11311
fix: Cross compile tests as well
...
We ran the tests first, but did not cross compile them. This step would
also compile all the grammar libraries (but for the host machine). On
the actual release build, the editor would get built for the target, but
the grammar libraries would be detected as present and wouldn't
recompile.
Refs #577
3 years ago
kabirz
6cba62b499
action: copy grammar libraries to runtime
3 years ago
dependabot[bot]
05bf9edebd
Bump actions/upload-artifact from 2.2.3 to 2.2.4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Blaž Hrastnik
4b7276ddd6
ci: Test with --release on releases
4 years ago
Blaž Hrastnik
b3eeac7bbf
Disable aarch64-macos, it fails to build on macos-latest
4 years ago
Blaž Hrastnik
582f1ee9d8
Add aarch64-macos (M1) to the release build matrix
4 years ago
dependabot[bot]
0327d66653
Bump actions/upload-artifact from 1 to 2.2.3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 2.2.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v2.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Blaž Hrastnik
726072085d
Fix release builds.
4 years ago
Blaž Hrastnik
d0f10fced7
Download the artifacts into current dir, that way it doesn't clash with dist.
4 years ago
Blaž Hrastnik
e1dc1d2d48
Fix release packaging.
4 years ago
Blaž Hrastnik
2d88c393f9
Update workflows.
4 years ago
Blaž Hrastnik
98bda8f3c9
Fix CI builds.
4 years ago
Blaž Hrastnik
41997d136a
ci: Specify tag format.
4 years ago
Blaž Hrastnik
dbbc341931
Update publish workflow.
4 years ago
Blaž Hrastnik
37d32e2933
Modify build triggers.
4 years ago
Blaž Hrastnik
83f97a7c89
Update workflow.
4 years ago
Blaž Hrastnik
686ad5e182
Update release.yml
4 years ago
Blaž Hrastnik
274c413f5a
Try building (but not packaging yet) binary releases.
4 years ago