Commit Graph

20 Commits (80f0100c293026e65b305c27ed1db5037a821549)

Author SHA1 Message Date
Wilfred Hughes 80f0100c29 Switch to macos-13 runner 2024-12-20 00:16:03 +07:00
Andreas Deininger 5ecf3c1eb2 Bump GitHub action workflows to their latest versions 2024-09-11 21:22:59 +07:00
Wilfred Hughes cafff7f128 Pin mac build to macos-12 2024-04-28 15:16:04 +07:00
Wilfred Hughes b07e5198b5 Remove prebuilt musl binaries in release config 2023-10-08 15:40:39 +07:00
Wilfred Hughes 3f3526ded4 Don't create a release on crates.io if other steps failed 2023-08-25 08:53:44 +07:00
Wilfred Hughes 8752af74d4 Test and release macOS ARM64 on macos-latest runners 2023-08-25 08:45:35 +07:00
Wilfred Hughes cc4630a060 Don't stop building release assets if one fails 2023-08-25 08:44:40 +07:00
Wilfred Hughes fa20bd9d44 Add Linux with musl, Linux on aarch64, and macOS on aarch64 targets
Use cross to cross-compile from Ubuntu to these platforms.

This will resolve #357 and #368 when the next release goes out.
2023-08-23 20:56:03 +07:00
Wilfred Hughes 49e2aed1ad Fix github action configuration to create drafts 2023-07-12 17:05:52 +07:00
Jan Katins f4b930375e
Create draft release in pipeline (#517)
Github sends out an email on creating/publishing a release (Watch -> Custom -> releases) and that email contains whatever is at that point in the release description. As the pipeline currently creates a release without a description the email is mostly empty. As the changelog is added manually later, lets only create a draft release which can be "published" after adding the changelog. The release email then contains a proper changelog entry.
2023-05-17 22:49:08 +07:00
Wilfred Hughes 08e7b5f413 Use Ubuntu 20.04 for builds
ubuntu-latest now points to 22.04:
https://github.blog/changelog/2022-11-09-github-actions-ubuntu-latest-workflows-will-use-ubuntu-22-04/

This means that distros witih older glibc versions can't use the 0.39
binaries attached to the release. The next release should resolve
this (see #446).
2022-12-21 22:33:45 +07:00
Wilfred Hughes 88222e83c4 Prepare for patch release with fixed Windows build 2022-09-17 23:55:00 +07:00
Wilfred Hughes ed1e1d870e Disable arm64 build and release
Builds are currently failing, so the release would fail too.

It looks like a compilation issue with tree-sitter-yaml:

    The following warnings were emitted during compilation:

    warning: vendor/tree-sitter-yaml-src/scanner.cc: In member function ‘bool {anonymous}::Scanner::scn_dir_tag_pfx(TSLexer*, TSSymbol)’:
    warning: vendor/tree-sitter-yaml-src/scanner.cc:430:9: warning: case label value is less than minimum value for type
    warning:   430 |         case SCN_FAIL:
    warning:       |         ^~~~

This reverts #353, but I've opened #368.
2022-09-09 09:09:50 +07:00
Niek van der Maas d767b87f90
Add arm64 releases for Linux and macOS
This adds `aarch64` (arm64) releases for both Linux and macOS.
2022-09-07 09:55:33 +07:00
Wilfred Hughes 8b5642ef51 Use the same checkout action version everywhere 2022-08-27 23:04:36 +07:00
Xuanwo 72533ab325
ci: Adopt rust-toolchain instead
Signed-off-by: Xuanwo <github@xuanwo.io>
2022-05-03 15:53:42 +07:00
Wilfred Hughes 6a566b33f5 Use the same Rust version for release 2022-04-10 15:38:49 +07:00
Wilfred Hughes 43c50ae1bb Publish to crates.io from GitHub action too 2022-04-10 13:07:03 +07:00
Wilfred Hughes 5b56bbbc3c Skip changelog parsing for now 2022-04-10 12:23:59 +07:00
Wilfred Hughes 2d2c05b783 Basic release configuration using GitHub actions
Based on
https://github.com/marketplace/actions/build-and-upload-rust-binary-to-github-releases
2022-04-10 10:58:41 +07:00