Commit Graph
144 Commits
Author SHA1 Message Date
Joseph T. Lyons ca8b2094b9 Adjust nightly to build twice a day 2023-12-11 13:05:16 -05:00
Max Brunsfeld a759ecc79c Remove '-nightly' suffix from nightly build version number
It breaks our semver parsing, and the release channel is already 'nightly'.
2023-12-07 16:51:53 -08:00
Kirill Bulatov 075667dd9c Do not run the same workflow concurrently on non-main branches (#3518)
<img width="1376" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/681cca85-e1b9-4a99-8363-60c931ba1393">

For any push (or force-push) into a branch, a separate CI workflow is
run.
This is rather worker-consuming, esp. given the fact that GitHub will
wait for the last job to update PR's status.
So cancel every old job for the same branch if it's not `main`.
CI run on `main` might catch a regression brought in by specific PR
merged, so run CI on every commit due to that.


Release Notes:

- N/A
2023-12-06 22:35:02 +02:00
Kirill Bulatov 006279fada Do not run the same workflow concurrently on non-main branches 2023-12-06 22:19:48 +02:00
Kirill Bulatov eeba1715d8 Use distinct version for zed2, append git hash to its nightly version 2023-12-06 22:04:45 +02:00
Kirill Bulatov cbc55cf8a9 Do not bundle Zed on main branch commits 2023-12-06 16:58:49 +02:00
Kirill Bulatov 62ec474a88 Format the CI file with Zed's default prettier 2023-12-06 16:58:18 +02:00
Kirill Bulatov 7e0e979c7b Allow to include gitignored files into project search (#3394) 2023-11-23 19:28:11 +02:00
Piotr Osiewicz 2091d6f028 ci: Add ci-config.toml in .cargo folder. 2023-11-22 22:25:26 +01:00
Kirill Bulatov 1aa37bafa5 If enabled, search in ignored files during project search 2023-11-22 16:41:02 +02:00
Piotr Osiewicz 47a59b09d1 Bump artifact size limit for CI to 100GB 2023-11-22 15:14:24 +01:00
Piotr Osiewicz 538adedbf1 Use printf instead of echo 2023-11-22 14:41:26 +01:00
Piotr Osiewicz 6df0319369 Change tabs to spaces 2023-11-22 14:37:41 +01:00
Piotr Osiewicz ae4b4e55e9 chore/CI: place .cargo/config.toml augmentations in ~/.cargo/config.toml 2023-11-22 14:36:10 +01:00
Mikayla bff3a90f8b Fix auto update command 2023-11-17 21:52:49 -08:00
Mikayla 45e78a8ede Temporary debug builds for faster ci testing 2023-11-17 17:46:05 -08:00
Mikayla 6790eee33b Fix bundle script 2023-11-17 17:44:41 -08:00
Max Brunsfeld e56372d3c7 Build nightly release based on 'nightly' tag, not any tag w/ nightly prefix 2023-11-17 17:21:35 -08:00
773e324ccb Check out repo outside of reusable actions
Co-authored-by: Mikayla <mikayla@zed.dev>
Co-authored-by: Kirill <kirill@zed.dev>
2023-11-17 14:14:03 -08:00
a2a13208fa Wire up release_nightly workflow, to upload artifacts to DO spaces
Co-authored-by: Kirill <kirill@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-17 14:07:51 -08:00
Mikayla f97047237e Push some sketches 2023-11-17 12:16:55 -08:00
Kirill Bulatov 6db4451b25 Create new Zed release channel: nightly 2023-11-17 12:13:32 +02:00
Conrad Irwin 31f6f4ec82 Don't generate licenses on every PR 2023-11-07 14:33:19 -07:00
Joseph T. Lyons c7211bb3fe Format YAML 2023-11-02 09:05:29 -04:00
Joseph T. Lyons 312f1e50b3 Cleanly truncate Discord release notes 2023-11-02 09:05:16 -04:00
Joseph T. Lyons d61918ef4c Shorten GitHub release message 2023-10-17 15:47:17 -04:00
Joseph T. Lyons 20a234ed22 Fix Discord text truncation 2023-10-11 01:54:32 -04:00
Joseph T. Lyons ed6a736db5 Truncate Discord release note text 2023-10-10 00:00:57 -04:00
Joseph T. Lyons 63e8848174 Add docker system prune command
This will hopefully keep the system drive cleaned up so we don't run issues with not enough disk space.
2023-08-23 14:54:39 -04:00
Joseph T. Lyons aea8113595 Update release action to choose between preview and stable URL in Discord announcements
This is what ChatGPT told me, so we'll see.
2023-07-28 15:12:37 -04:00
Joseph T. Lyons e4d0122dcd Publish preview releases to discord 2023-07-27 15:17:13 -04:00
Kirill Bulatov bb04b5a0eb Update another deprecated plugin 2023-07-13 11:52:35 +03:00
Kirill Bulatov 494b26bd13 Update checkout actions 2023-07-12 22:18:37 +03:00
Joseph T. Lyons 33bf2b2518 Remove code block for GitHub release notes
Discord can directly render the Markdown now.
2023-07-08 18:03:18 -04:00
Piotr Osiewicz fae9b9cb89 Use nextest instead of test (#2639)
This should speed up our test CI by a minute or so. =)

[current best case CI
run](https://github.com/zed-industries/zed/actions/runs/5337351944/jobs/9673291188),
where we don't rebuild anything (and only run tests) takes about 2m30s
[with
nextest](https://github.com/zed-industries/zed/actions/runs/5346819257/jobs/9694617720?pr=2639),
that's down to 1m30s.
Release Notes:
- N/A
2023-06-22 16:50:26 +02:00
Max Brunsfeld 43d24c5643 Disable scheduled randomized test workflow for now 2023-06-07 09:20:25 -07:00
Piotr Osiewicz 55d80f9365 Revert "chore: bump MSRV to 1.70" (#2577)
Reverts zed-industries/zed#2573
2023-06-06 22:21:34 +02:00
Piotr Osiewicz 5532ce10f1 chore: bump MSRV to 1.70 (#2573)
Add rust-toolchain.toml

Release Notes:

- N/A
2023-06-06 21:50:27 +02:00
Joseph Lyons bdc5fe76db Remove code sending zed events to mixpanel 2023-06-05 15:33:17 -04:00
Kirill Bulatov d2f57a1759 Unite dmg build jobs 2023-05-18 13:49:55 +03:00
Mikayla Maki 8b6d8f9528 Add a dependency on rustfmt to the CI tests 2023-05-17 14:17:10 -07:00
Kirill Bulatov 5e26ea61d0 Build Zed dmg 2023-05-15 11:26:41 +03:00
Kirill Bulatov bb42d3a370 Add a job to build Zed images from current main
The job triggers on every commit to `main` or every PR with
`run-build-dmg` label and produces an install-ready *.dmg artifact attached to the
corresponding CI run.
2023-05-14 22:06:33 +03:00
Joseph Lyons f33ccf81e3 Update release links 2023-05-12 14:04:36 -04:00
Mikayla Maki ba0c8b528e Delete pull_request_template.md 2023-05-12 10:15:13 -07:00
Mikayla Maki 78f8d1b741 Create pull_request_template.md 2023-05-12 10:12:47 -07:00
Max Brunsfeld e45eccbf82 ci: clear the target dir if it gets too big 2023-05-11 09:43:13 -07:00
Max Brunsfeld e3d920ed01 Use Node 18 on CI, for fetch API 2023-04-17 16:22:30 -07:00
Max Brunsfeld e721120232 Don't run randomized tests on pushes to main 2023-04-17 15:43:12 -07:00
Max Brunsfeld 320c00422a Report randomized test failures to zed.dev, to create issues in linear 2023-04-14 15:45:01 -07:00