Blaž Hrastnik
ccc3085ad0
ci: Use a shared cache across build workflow steps
1 year ago
Michael Davis
ef1f4f31b6
CI: Publish stable book before master ( #8621 )
1 year ago
Blaž Hrastnik
f6021dd0cd
ci: Disable riscv release build (currently broken)
1 year ago
dependabot[bot]
48b7520bca
build(deps): bump actions/checkout from 3 to 4 ( #8173 )
...
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
10e7ca819b
build(deps): bump cachix/install-nix-action from 22 to 23 ( #8172 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
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>
1 year ago
Michael Davis
86fc203197
CI: Remove the aarch64 appimage build steps from release ( #7832 )
...
The steps mistakenly produce a x86_64 appimage and call it aarch64.
linuxdeploy doesn't currently support producing aarch64 appimages so
we should just remove these steps for aarch64-linux.
1 year ago
dependabot[bot]
293a55ad2b
build(deps): bump cachix/install-nix-action from 21 to 22 ( #7392 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
a367a713ef
build(deps): bump cachix/install-nix-action from 20 to 21 ( #7170 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Michael Davis
38b9bdf871
Recursive create the pkgname directory when creating a release tarball
...
This step without the '-p' works fine for regular releases but it can
fail if the CI is running when this file changes or on a branch
matching 'patch/ci-release-*'.
2 years ago
Michael Davis
6bfc309741
Remove the rust-toolchain.toml file before building the release
...
The 'dtolnay/rust-toolchain' action ignores the rust-toolchain.toml
file, but the installed 'cargo' respects it. This can create a version
mismatch if the MSRV is different from the stable rust version. Any
additional targets installed by rustup like aarch64-darwin might not
be installed for the correct version. To fix this, we remove the
rust-toolchain.toml file before calling 'cargo'.
2 years ago
Michael Davis
fc5e515b30
Enable aarch64-macos releases
2 years ago
Blaž Hrastnik
3cf037237f
Fix AppImage build problems
2 years ago
Blaž Hrastnik
e59cb19892
Disable aarch64-macos build for now (build issues)
2 years ago
Pascal Kuthe
ccdb144665
update MSRV to 1.65
2 years ago
Michael Davis
6e7dcb3317
CI: Update cachix/install-nix-action to v20 ( #6163 )
...
This fixes an issue with installing Nix 1.14 which causes the
cachix/cachix-action in the next step to fail.
2 years ago
Pascal Kuthe
e474779c87
bump msrv to 1.63 ( #5570 )
...
* bump msrv to 1.63
* resolve new complex type clippy lints
2 years ago
Blaž Hrastnik
8e2eab1a6f
Also run build checks on merge queue
2 years ago
dependabot[bot]
093b37d7e7
build(deps): bump cachix/install-nix-action from 18 to 19 ( #5855 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
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>
2 years ago
Blaž Hrastnik
0f2ae35a13
ci: Merge two jobs
2 years ago
Blaž Hrastnik
e6fce860b1
Use latest github runner images
2 years ago
Blaž Hrastnik
00092a29c4
Use dtolnay/rust-toolchain in more places
2 years ago
Blaž Hrastnik
700f8ba252
Use `cargo fmt`'s --check
2 years ago
dependabot[bot]
5ad3befe9a
build(deps): bump Swatinem/rust-cache from 1 to 2 ( #4843 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Blaž Hrastnik
6aa345a6ce
ci: Simplify tag name fetching (set-output is deprecated)
2 years ago
Blaž Hrastnik
33ae498e9f
ci: Remove a bunch of actions-rs/cargo uses
2 years ago
Alexis (Poliorcetics) Bourget
53b70d821e
deps: Update tree-sitter-rust (supports let-else && let-chains)
2 years ago
Jonathan LEI
eddf9f0b7f
Run clippy on workspace in CI ( #4614 )
2 years ago
dependabot[bot]
df3c6412ac
build(deps): bump cachix/cachix-action from 11 to 12 ( #4547 )
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 11 to 12.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v11...v12 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
fee5db161b
build(deps): bump cachix/install-nix-action from 17 to 18 ( #4340 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
38746b04b4
build(deps): bump cachix/cachix-action from 10 to 11 ( #4339 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Pascal Kuthe
4133f1f424
Document MSRV policy ( #3913 )
2 years ago
Pascal Kuthe
5ea7855977
raise msrv to 1.59 ( #3896 )
2 years ago
yvt
b191ecf828
Strip release binary by setting `profile.release.strip` in a pre-build step ( #3780 )
...
* chore(ci): remove the strip step from the release CI workflow
* chore(ci): set `profile.release.strip = true` in the release CI workflow
2 years ago
yvt
02d6102540
chore(ci): upgrade `actions/upload-artifact` to v3
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
yvt
0090a2d86f
chore(ci): support "preview" release CI runs
...
Expands the trigger sources of the release CI workflow (`release.yml`),
allowing the developers to test changes to `.github/workflows/release.yml`
easily. The new trigger sources start the workflow in a "preview" mode, in
which it publishes build outputs as a CI artifact instead of creating a new
release so that they can be manually inspected.
The following events trigger the preview mode:
- Pushing to any branch matching the glob pattern `patch/ci-release-*`.
- Opening a pull request that modifies `.github/workflows/release.yml`.
- Pushing versioning tags to a forked repository.
2 years ago
yvt
29fe0c3862
Enable CI builds for `riscv64-linux` ( #3685 )
2 years ago
yvt
b7380313a5
chore(ci): build AppImage for aarch64-linux
2 years ago
yvt
038a91d204
chore(ci): build binary for aarch64-linux
2 years ago
yvt
1fc97a9a20
chore(ci): install a pre-release version of Cross
2 years ago
A-Walrus
c93d52cc8a
Fix cargo doc warnings, and add GitHub action to ensure it ( #3650 )
2 years ago
Yusuf Bera Ertan
e917a8e0be
build(nix): update nci, refactor flake, seperate wrapping, add source filtering ( #3657 )
2 years ago
Michael Davis
4e4c6da3bf
Add query-check xtask
2 years ago
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
Skyler Hawthorne
086b63ab1b
add integration-test cargo alias
3 years ago
Skyler Hawthorne
28e94fb261
need the full languages config for integration tests
3 years ago
Skyler Hawthorne
cb0440be85
use env var for integration test log level
3 years ago
Skyler Hawthorne
2fbf833630
add integration feature to github tests
3 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