Jalil Salamé
64b8749eb3
ci: Use nextest ( #3342 )
...
* ci: Use cargo-nextest to improve testing times
* chore: Regenerate workflows
* chore: Use nextest in non generated workflows
* fix(nextest): No fail fast
* fix: Caching of nextest ignores conatiner
* chore: Regenerate workflows
* fix(ci): Wrong input to cargo-install action
* fix: Merge conflicts
* fix(flaky-tests): Try updating OpenSUSE Leap to 15.4
2023-03-24 21:11:22 -07:00
Jalil Salamé
66b29c88e0
ci: Use rust-cache instead of the general cache action ( #3341 )
...
* feat: Cache Rust artifacts using Swatinem/rust-cache@v2
* chore: Generate workflows
* chore: Modify non generated workflows
* fix: Add caching to workflows that were missing it
* fix: Merge conflicts
* fix(ci): No need to hash files ourselves
* chore: Regenerate workflows
* fix: Only cache workspace (other changes don't invalidate cache)
---------
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-03-24 17:54:36 -07:00
Jalil David Salamé Messina
51e87e8df5
fix(ci): Use install action instead of manually calling cargo-install
2023-03-24 17:50:30 -07:00
Jalil Salamé
1535d88290
Ci toolchain: Do not use actions-rs/toolchain ( #3327 )
...
* fix(generate-workflows): Do not use actions-rs
[actions-rs/toolchain](https://github.com/actions-rs/toolchain ) is unsupported:
- Has not recieved updates since November 2020 (~2.5 years)
- It uses Node.js 12 and GitHub will stop supporting it Summer this year(?) see
this [article](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ ).
[dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain ) is
actively supported and its mostly a 1-1 replacement, the differences are:
- Uses the minimal profile always, so no need to specify it.
- There is no need to override the toolchain.
I also removed some things:
- None of the generated actions use `rustfmt` so I removed the component
- The toolchain is always stable, so I specified it in the action itself
instead of in the action parameters.
* ci: Regenerate workflows
* fix: Remove ALLOW_UNSECURE_COMMANDS from action
* fix(CentOS7): Manually install rustup as CentOS7 uses a very old curl
* fix: Restart shell so that the rustup command is available
* feat: Add exeption to the CentOS workflow to download rustup
* fix: Remove actions-rs/toolchain from remaining workflows
* fix: Address review comment
2023-03-24 10:16:09 -07:00
Jalil David Salamé Messina
1116c14cd5
chore: Regenerate workflows
2023-03-24 07:03:22 -07:00
Wez Furlong
00ada33fe2
ci: persuade zypper to install deps in get-deps
2023-03-21 20:01:57 -07:00
Wez Furlong
a0ec2c18b4
ci: remove some builds
...
GH actions has been awful slow and bogged down recently,
getting in the way of work that is more important.
This commit removes a variety of alpine builds (which are
not widely used by wezterm users), and the eldest fedora
version to free up some resources.
2023-03-19 22:47:46 -07:00
dependabot[bot]
dcbc2bf2bc
build(deps): bump actions/deploy-pages from 1 to 2
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 1 to 2.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-19 20:18:53 -07:00
Wez Furlong
6237668a14
pages: run only one at a time, allow them to queue up
2023-03-16 21:23:16 -07:00
Wez Furlong
a22e6fa1ab
fix trigger paths!
2023-03-16 00:05:00 -07:00
Wez Furlong
4f48f03ab9
revise fmt workflow triggers
2023-03-15 23:43:32 -07:00
Wez Furlong
46913b7822
ci: adjust wezterm-ssh triggers
2023-03-15 23:43:32 -07:00
Wez Furlong
914ad42743
revise verify-pages triggers and workflow
2023-03-15 23:43:28 -07:00
Wez Furlong
cf74e7f501
ci: adjust termwiz workflow path triggers
2023-03-15 23:26:32 -07:00
Wez Furlong
7b2330ead2
ci: workflow should run when its file is changed
2023-03-15 21:34:33 -07:00
Wez Furlong
532d9e6e85
ci: adjust path triggers
2023-03-15 21:31:46 -07:00
Wez Furlong
4770b38737
docs: switch doc build to Material for MkDocs
...
It's a more mature and actively developed toolset for
technical writing, and looks nicer.
2023-03-15 19:22:51 -07:00
Wez Furlong
fecf3bb60b
docs: add mdbook-admonish
2023-02-25 18:19:47 -07:00
Wez Furlong
494fab09ba
ci: docs: deploy directly, rather than via gh_pages branch
2023-02-25 17:49:57 -07:00
Wez Furlong
0b7d222240
ci: try harder for app image build
2023-02-17 12:13:42 -07:00
Wez Furlong
0bcbdc1baa
ci: maybe fix appimage build
2023-02-17 11:33:35 -07:00
Wez Furlong
a5c2b1f3ad
ci: generate appimage from ubuntu20
...
We were doing this from 18, but with 18 on its way out on GH actions,
bump it up.
2023-02-12 10:31:06 -07:00
Wez Furlong
fc27defd25
ci: remove ubuntu 18
...
refs: https://github.com/actions/runner-images/issues/6002
2023-02-07 09:48:33 -07:00
Wez Furlong
fcd7c305bb
ci: reduce frequency of thread locking
...
now the backlog is done, just run this once per day
2023-02-05 07:10:40 -07:00
Wez Furlong
5532ae245a
workflows: add auto-locking of inactive closed issues
...
Encourage people to file new issues so that we can track and
communicate more effectively on their current issues.
2023-02-03 08:45:17 -07:00
Wez Furlong
dd28dbae0a
ci: unpin rust and mdbook versions in pages workflow
2023-01-23 19:06:35 -07:00
azzamsa
b74cd91789
docs: use new gelatyx file-list
option
2023-01-23 17:54:48 -08:00
Wez Furlong
2b1f152e90
ci: try a bit harder to make doc builds work on PRs
...
refs: https://github.com/wez/wezterm/pull/2969
2023-01-23 10:58:03 -07:00
Wez Furlong
ca7024aee3
ci: try harder to successfully build the docs on PRs
2023-01-21 06:38:38 -07:00
Manpreet Singh
67896f67f5
Add Fedora 37 nightly builds
2023-01-02 15:51:14 -08:00
Wez Furlong
7c88674413
ci: another pass at tumbleweed
2022-12-31 23:44:04 -07:00
Wez Furlong
7b6aad6884
ci: make fix tumbleweed build
2022-12-31 22:38:59 -07:00
Wez Furlong
8b05fdba84
ci: apparently GH_TOKEN is what it really should be
2022-12-27 10:10:49 -07:00
Wez Furlong
295e0c444f
ci: potentially fixup flakey pages build
...
It has been failing sporadically due to GH API rate limiting.
Use the gh CLI if available, to pick up our access token.
2022-12-22 10:54:17 -07:00
Wez Furlong
287a633a98
ci: maybe fix suse CI
...
looks like lsb-release is no longer a valid package in suse
2022-10-21 21:47:09 -07:00
Wez Furlong
478109de07
ci: try harder to pin rust version for mdbook breakage
2022-10-01 07:12:23 -07:00
Wez Furlong
f0e18129e9
ci: I hate yaml
2022-10-01 06:34:49 -07:00
Wez Furlong
c041cef03e
ci: take another crack at dealing with mdbook breakage
...
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/73
refs: https://github.com/rust-lang/mdBook/issues/1860
refs: https://github.com/badboy/mdbook-mermaid/pull/23
2022-10-01 06:31:35 -07:00
Wez Furlong
9102973274
ci: disable mdbook-linkcheck
...
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/73
2022-10-01 06:16:13 -07:00
Wez Furlong
e74defad11
ci: maybe fix mdbook compile failure
...
refs: https://github.com/rust-lang/mdBook/issues/1860
2022-09-30 09:25:27 -07:00
Wez Furlong
c2fee76638
ci: nth time's the charm for winget tag pr thing
2022-08-07 11:31:46 -07:00
Wez Furlong
306da9d448
ci: tweak winget pr stuff a bit more
2022-08-07 10:51:56 -07:00
Wez Furlong
56aa71331e
ci: maybe fixup winget pr submission when tagging a release
2022-08-07 09:38:23 -07:00
Wez Furlong
360b3f3479
ci: try uploading sha256 files alongside release assets
...
refs: #2114
2022-07-25 08:39:24 -07:00
digitallyserviced
41ee60c97a
add gelatyx to verify-pages workflow
2022-07-20 07:45:34 -07:00
azzamsa
be929db374
docs: reformat lua code
...
refs: https://github.com/wez/wezterm/pull/2273
refs: https://github.com/wez/wezterm/issues/2253
2022-07-19 06:27:33 -07:00
Wez Furlong
09d2361f1c
meant to remove this as part of c667224674
2022-07-04 16:25:13 -07:00
Wez Furlong
40d346b58f
ci: automate updating winget during release time
...
A slightly simpler alternative to https://github.com/wez/wezterm/pull/2199
2022-06-28 11:47:11 -07:00
Wez Furlong
ce89e33f01
ci: make deterministic again!
...
dc728b3895
introduced some non-determinism
by mutating the global TARGETS list.
The result is, depending on iteration order, the generated jobs
may inherit the env from earlier jobs.
Notably, if the tag job inherit the schedule reason from a continuous
job, they'll upload assets with an incorrect filename.
This commit restores the determinism by forcing each iteration
of the generation loop to make a deep copy of the statically
defined information in TARGETS.
While we're at it, ensure that the list of env vars is sorted
to avoid non-determinism there as well.
refs: https://github.com/wez/wezterm/issues/2176
2022-06-25 11:40:47 -07:00
dependabot[bot]
a9612bc613
build(deps): bump crazy-max/ghaction-github-pages from 2 to 3
...
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages ) from 2 to 3.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases )
- [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-29 20:58:00 -07:00
Wez Furlong
770ccbae66
ci: separate out the fuzzer to a separate step
2022-05-14 09:31:44 -07:00
Wez Furlong
a22942aa13
fixup a couple more cases found by fuzzing
...
Also ensure the rust backtrace is printed by the fuzzer
for some reason, cargo-fuzz doesn't do this automatically, which limits
its out-of-the-box utility.
refs: https://github.com/wez/wezterm/pull/1986
2022-05-14 08:46:37 -07:00
Wez Furlong
1300f801ed
CI: speculatively run the fuzzer for termwiz
2022-05-14 08:27:52 -07:00
Wez Furlong
566b58a64b
ci: add Fedora 36
2022-05-11 18:25:51 -07:00
Wez Furlong
7e460c3784
ci: restore centos7
...
It was removed in be1b54ba33
citing
difficulties with GH CLI, but I think I subsequently solved
that by not running it in the container.
refs: https://github.com/wez/wezterm/issues/1947
refs: https://github.com/wez/wezterm/issues/1948
2022-05-10 23:12:11 -07:00
Wez Furlong
156b0ae44c
ci: skip full build when updating just the .markdown docs
2022-05-09 21:57:18 -07:00
Wez Furlong
b25d4d22ee
ci: tweak pages workflow a bit more
2022-05-06 20:19:14 -07:00
Wez Furlong
c16ea9b134
ci: maybe improve caching for pages workflow
2022-05-06 20:04:11 -07:00
gimbles
981f1e678d
Add 22.04 release info
2022-04-25 20:28:59 -07:00
xpufx
9f6d2db154
Add opensuse packages to build/release workflows ( #1916 )
...
* added opensuse packaging
* change deploy.sh rpm spec for opensuse
* added missing opensuse openssh install logic
* push generated workflows
* fix typo in func name - yum vs zypper
* Update ci/generate-workflows.py
merge run steps
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* fix libxcb-* packages for opensuse
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-04-25 13:27:56 -07:00
Wez Furlong
39d2726e5a
ci: another stab at apk sed stuff
2022-04-25 07:10:18 -07:00
Wez Furlong
1e11895600
ci: fixup sed usage for APKs
...
Part of the directory structure is `/wezterm/something/wezterm-`
Take care not to rewrite that earlier wezterm directory to something
bogus.
2022-04-24 16:17:32 -07:00
Wez Furlong
55174056b9
ci: don't rebuild everything when changing no-response config
2022-04-21 08:00:24 -07:00
Wez Furlong
a4f07e6382
ci: one more tweak to no-response config
2022-04-21 07:45:22 -07:00
Wez Furlong
35054ed291
ci: tweak no-response config
2022-04-21 07:09:48 -07:00
Wez Furlong
4bc8165f53
ci: replace waiting-on-op automation
...
The old no-response bot stopped working and recommends this
alternative workflow.
2022-04-21 06:44:28 -07:00
Wez Furlong
6152bc0e41
ci: disambiguate the different alpine artifact versions
...
We were uploading all the packages as `wezterm-20220419.075038-r0.apk`
regardless of the alpine version.
Also, what we upload to the nightly release must not include a version
number, otherwise the release will hold an unbounded number of versions!
2022-04-19 21:18:36 -07:00
Wez Furlong
24e71b801b
ci: moar alpine urgh
2022-04-19 07:50:38 -07:00
Wez Furlong
6a0ce5f038
ci: one more go at alpine
...
almost there!
2022-04-19 06:57:55 -07:00
Wez Furlong
62b7b60012
ci: more alpine urgh
2022-04-19 06:35:28 -07:00
Wez Furlong
87e2afa4db
ci: more grubbing about with alpine
2022-04-19 06:19:59 -07:00
Wez Furlong
c3a9f75cba
ci: debugging alpine continuous
2022-04-18 23:32:21 -07:00
Wez Furlong
422e0f3d56
ci: more alpine tweaks
2022-04-18 22:58:27 -07:00
Wez Furlong
6753bfe764
ci: tweak apk patterns/uploads/artifacts
2022-04-18 22:18:22 -07:00
Jakub Panek
724baf12b5
ci: update workflows
...
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-04-18 21:34:34 -07:00
Wez Furlong
8235736ac0
ci: take a stab at working around https://github.com/actions/checkout/issues/760
2022-04-12 20:11:18 -07:00
Wez Furlong
4cf74e3d77
ci: revert b95f453ede
...
checkout seems to be failing for ubuntu 20 recently:
```
Deleting the contents of '/__w/wezterm/wezterm'
Initializing the repository
/usr/bin/git init /__w/wezterm/wezterm
Initialized empty Git repository in /__w/wezterm/wezterm/.git/
/usr/bin/git remote add origin https://github.com/wez/wezterm
Error: fatal: unsafe repository ('/__w/wezterm/wezterm' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /__w/wezterm/wezterm
Error: The process '/usr/bin/git' failed with exit code 128
```
Try reverting this as a workaround.
2022-04-12 18:14:41 -07:00
Wez Furlong
1d908457ae
ci: (up|down)load-artifact v2 -> v3
2022-04-10 18:36:34 -07:00
Wez Furlong
b95f453ede
ci: actions/checkout 2.4 -> 3
...
closes : #1855
2022-04-10 18:34:51 -07:00
Wez Furlong
2a8ff9ca75
docs: adopt mermaid-js for flowchart
...
This is a bit more compact and easier to edit.
A downside is that the search engine highlight can break the diagram and
cause it to emit a syntax error.
2022-04-03 22:09:17 -07:00
Wez Furlong
1cf0a76f3f
deps: actions/cache -> v3
...
closes: https://github.com/wez/wezterm/pull/1782
2022-03-27 19:48:06 -07:00
Wez Furlong
d5998ccb56
bump actions/checkout from 2.4 -> 3
...
closes : #1694
2022-03-09 07:32:40 -07:00
Wez Furlong
7089954049
ci: update for centos9
2022-02-01 22:19:45 -07:00
Wez Furlong
5c9ae7860f
ci: centos9 has curl-minimal preinstalled which conflicts with curl
...
so just install curl-minimal
2022-02-01 14:34:21 -07:00
Wez Furlong
64d12d4500
ci: there is no powertools repo in centos9
2022-02-01 14:30:55 -07:00
Wez Furlong
5caab935ae
ci: add centos9
2022-02-01 14:18:57 -07:00
Wez Furlong
e409968fb1
ci: centos8 can be found on quay.io
2022-02-01 12:07:51 -07:00
Wez Furlong
35e97a5c78
centos 8: RIP
...
There's no obvious successor that I trust to build this on GH actions,
so remove it from CI.
2022-02-01 08:38:03 -07:00
Wez Furlong
fb1350492c
Revert "ci: migrate centos:8 images to stream"
...
This reverts commit 6fe60d56fd
.
It didn't work out, and I'd rather it be broken the original way
than the other way :-p
2022-01-31 21:44:48 -07:00
Wez Furlong
6fe60d56fd
ci: migrate centos:8 images to stream
...
The centos8 builds have been failing today, and it appears to
be because https://www.centos.org/centos-linux-eol/ happened
about 3 years early and the URLs in the image are hard-broken.
https://forums.centos.org/viewtopic.php?f=54&t=78708 has some
info on re-pointing them to a vault subdomain.
The "right" thing to do is to migrate to centos 8 stream, but
I don't see a centos stream docker image from centos.
This commit attempts the manual migration steps to stream.
Let's see how this goes.
2022-01-31 21:23:52 -07:00
dependabot[bot]
0ce029fdba
build(deps): bump actions/checkout from 1 to 2.4.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 1 to 2.4.0.
- [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/v1...v2.4.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 09:51:49 -08:00
Wez Furlong
01fe56fe57
ci: explicitly install rustfmt
2022-01-17 15:14:32 -07:00
Wez Furlong
eb2b4fcce5
ci: use nightly toolchain for fmt workflow
2022-01-17 15:00:31 -07:00
Wez Furlong
e4ed2c93e2
encoding my preferred import grouping in the rustfmt config
...
This uses an unstable option in rustfmt, you `cargo +nightly fmt`
needs to be used to format the code correctly.
2022-01-17 13:50:51 -07:00
Wez Furlong
11567c2097
ci: put fmt check into separate workflow
2022-01-16 19:07:47 -07:00
Chip Senkbeil
e46e2bae80
Add wezterm-ssh independent CI task to verify libssh-rs and ssh2 features can work independently ( #1544 )
...
Add wezterm-ssh independent CI task to verify libssh-rs and ssh2 features can work independently
2022-01-13 18:48:33 -07:00
Wez Furlong
f6e56aab10
ci: tidy up termwiz workflow
2022-01-12 07:19:44 -07:00
Wez Furlong
4452fbe798
ci: trigger termwiz build on push as well
2022-01-12 07:16:16 -07:00
Wez Furlong
475fc0667b
fix termwiz compilation when widgets are enabled
...
refs: #1457
2022-01-12 07:14:14 -07:00
Wez Furlong
fb8de1b5f3
Revert "ci: add centos 9"
...
This reverts commit fc069f9298
.
Turns out centos 9 isn't a thing in docker (yet?)
2022-01-01 17:45:24 -07:00