Wez Furlong
c885e5a65b
ci: just split into two for now
...
I'm not confident that the PR filter in the last commit will work,
so just split into two workflows for now.
2021-12-11 23:35:30 -07:00
Wez Furlong
f72112f690
ci: trigger page build for doc changes
2021-12-11 23:30:36 -07:00
Wez Furlong
4143d254aa
ci: tidy up separate uploader job
...
Enable it for tags/releases too, and remove some additional git fetches
and installation of the GH CLI inside containers that we no longer need.
2021-12-08 19:57:25 -07:00
Wez Furlong
20c9badfc8
ci: another pass at uploading, with the repo checked out
2021-12-08 11:19:00 -07:00
Wez Furlong
03c7986bb0
ci: bleh, do retry inline as part of upload
2021-12-08 10:31:56 -07:00
Wez Furlong
eeefca0908
ci: add dependency from upload -> build job
2021-12-08 10:16:58 -07:00
Wez Furlong
f89f9b5b31
ci: try uploading to tag outside of docker container
2021-12-08 10:14:08 -07:00
Wez Furlong
d98a72f350
ci: also grab artifacts when building a tag
2021-12-06 19:41:10 -07:00
Wez Furlong
1c0298c54d
ci: capture artifact before uploading to release
...
This should make it possible to write a script to grab artifacts
and stick them into the appropriate release if something flakes out.
2021-12-06 19:37:33 -07:00
Wez Furlong
2d99e6e816
ci: fixup upload globs for ubuntu
2021-12-06 13:14:16 -07:00
Wez Furlong
d19a61ae9c
ci: more fun with apt
2021-12-06 10:50:52 -07:00
Wez Furlong
6a310c4bd4
ci: ensure APT can use https sources
2021-12-06 10:40:51 -07:00
Wez Furlong
0882d2f546
ci: switch ubuntu20 back to a container
...
Something weird going on with the rust stuff
2021-12-06 10:37:54 -07:00
Wez Furlong
c033160500
ci: try to debug the debian issue
2021-12-06 10:21:06 -07:00
Wez Furlong
e1260b2337
ci: another stab at quoting for this GH key stuff
...
Objectively awful, but avoids a python dep on yaml
2021-12-06 10:12:25 -07:00
Wez Furlong
aa200ae8aa
ci: try alternate quoting for the GH key install
2021-12-06 10:05:29 -07:00
Wez Furlong
03f5a23939
ci: powertools enable only on centos
2021-12-06 09:59:21 -07:00
Wez Furlong
7df420dce0
ci: dnf requires -y in automation
2021-12-06 09:55:59 -07:00
Wez Furlong
4d5af41f91
ci: fix missing python f"" for "{sudo}"
2021-12-06 09:54:17 -07:00
Wez Furlong
c942dbe02d
ci: need curl installed before we can do the GH cli install on debian
2021-12-06 09:52:19 -07:00
Wez Furlong
faec667ff9
ci: install config manager on fedora
2021-12-06 09:49:28 -07:00
Wez Furlong
be1b54ba33
ci: try installing GH inside containers
...
`gh` is pre-installed in native runners only; when we build in a
container, we need to install it for ourselves.
This commit drops support for building on centos7 as it is a PITA
to get this working there.
2021-12-06 09:45:14 -07:00
Wez Furlong
1e8ebdadfd
ci: switch to GH CLI for uploading to releases
...
I lost a few hours over the weekend because the GH release uploads
are flakey and the action I was using doesn't internally perform
retries. I had to manually delete the failed uploads from the release
and then re-trigger the builds across several platforms, several times
for both of the releases I pushed this weekend :-/
This commit speculatively switches over to using the GH cli in the
hopes that the error reporting is better, and also because it is
simpler to externally drive a retry loop.
Let's see how this goes.
2021-12-06 09:14:15 -07:00
Wez Furlong
30fd56c35f
ci: actions/cache -> 2.1.7
2021-11-28 19:10:08 -07:00
Wez Furlong
f0f7110dfe
ci: windows -> windows-latest
...
GH are deprecating the version we were using, so let's see if simply
upgrading to latest works out.
2021-11-23 06:57:48 -07:00
Wez Furlong
f0f881af9d
ci: use correct name for secret
2021-11-22 20:25:14 -07:00
Wez Furlong
06e35bbd52
ci: maybe enable codesigning on macos
...
refs: https://github.com/wez/wezterm/issues/482
2021-11-22 11:27:14 -07:00
Manpreet Singh
e7b8c7e8b8
Fedora 35 builds ( #1323 )
...
* Fedora 35
* Update docs/install/linux.markdown
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2021-11-15 17:33:38 -08:00
Chip Senkbeil
7d5c301c66
Ensure /run/sshd exists, explicitly set username in sshd fixture, add back use_privilege_mode no
2021-10-10 14:54:45 -07:00
Chip Senkbeil
68fd2035cd
Rebase and re-apply openssh-server addition to CIs
2021-10-10 14:54:45 -07:00
Wez Furlong
9a78754961
ci: re-run generate-workflows
2021-10-02 21:25:47 -07:00
Frieder Bluemle
57eebb7997
Format non-generated workflow files
2021-10-02 10:11:54 -07:00
Frieder Bluemle
b56f67579d
ci: Simplify and clean up generate-workflows.py
2021-10-02 10:11:54 -07:00
Wez Furlong
7efb6e8df9
ci: remove fedora 31 and 32, which are EOL
2021-09-25 17:56:49 -07:00
Wez Furlong
9ac08f3ed0
ci: ubuntu16 is no longer available on GH actions
...
Switch the AppImage builder over to ubuntu18. According to
https://docs.appimage.org/packaging-guide/overview.html#converting-existing-binary-packages
the AppImage target is the oldest current Ubuntu LTS version, so this
should be ok, although those docs still reference Ubuntu 16.
refs: https://github.com/actions/virtual-environments/issues/3287
2021-09-22 20:47:08 -07:00
Frieder Bluemle
89e4d7b787
ci: Do not run upload action on forks
2021-09-21 09:43:09 -07:00
karl
d555be2051
ci: Added Debain 11 target
2021-08-20 14:01:34 -07:00
Wez Furlong
40c8fb1f0f
ci: prep devtoolset 9 with SCL repo
2021-08-19 21:31:46 -07:00
Wez Furlong
f845df811b
ci: rejigger ci a bit
2021-08-19 21:22:36 -07:00
Wez Furlong
2446ac5d7f
ci: use newer compiler on centos7
...
Needed to support the IME work in #1043
2021-08-19 20:52:35 -07:00
HMH
6404099d25
IME support on X11 ( #1043 )
...
* WIP: IME support for X11
* Handle text generated by IME.
* Set IME position according to the cursor position.
* Improve IME position handling.
Geometry as well as window focus changes are now handled.
* Dispatch IME strings like it's done on windows.
* Make sure not to silently drop IME errors.
* Respect `use_ime` configuration.
* Add xcb-util as dependency.
* Only update IME position if necessary.
* Formatting.
* Update xcb-imdkit-rs.
* Set IME position under the start of the cursor.
This seems to be the way it is commonly done among gui frameworks.
(Tested with Firefox for GTK and Konsole for QT).
* Update xcb-imdkit-rs.
* Handle systems only providing libxcb-util0-dev.
* Add libxcb to freebsd dependencies.
Required by xcb-imdkit-rs.
* Update xcb-imdkit-rs.
* Try to use more recent gcc on centos7.
* More recent C++ compiler on centos7 as well.
* Also setup correct env on centos7 for tests.
2021-08-19 20:51:56 -07:00
Wez Furlong
4eb17dd9f4
CI: use macos-11 instead of macos-11.0
...
Github made a breaking change with the name today when they
rolled out GA for this environment.
2021-08-17 21:06:12 -07:00
Wez Furlong
8c4e1f02e2
ignore template edits for pages build
2021-08-17 17:43:59 -07:00
Wez Furlong
66f97b0db0
ignore template edits in CI
2021-08-17 17:43:19 -07:00
Wez Furlong
c73492311f
remove old bug report template
2021-08-17 17:42:57 -07:00
Wez Furlong
cf7cced245
Update bug.yml
2021-08-17 17:40:37 -07:00
Wez Furlong
3e9a5e866e
Update bug.yml
2021-08-17 17:37:56 -07:00
Wez Furlong
7a01d53a5e
Update bug.yml
2021-08-17 17:37:15 -07:00
Wez Furlong
d67b05345d
Update bug.yml
2021-08-17 17:25:48 -07:00
Wez Furlong
a252093eca
Create bug.yml
...
Trying out the new GH forms thingy
2021-08-17 17:22:37 -07:00
Wez Furlong
d54bf21826
update actions/cache -> 2.1.6
2021-05-30 23:07:29 -07:00
Wez Furlong
8418495dbd
brew tap is now a Cask on macOS
...
This updates the docs to reflect the changes in
https://github.com/wez/homebrew-wezterm/pull/2 and updates the
automation to use the cask as the template, and to update and commit the
task version of the formula.
Thanks @laggardkernel!
closes: https://github.com/wez/homebrew-wezterm/issues/1
refs: https://github.com/wez/wezterm/issues/501
2021-05-22 08:30:10 -07:00
Wez Furlong
3f7122cb3f
ci: wezterm-bin no longer exists
2021-05-02 15:42:44 -07:00
Wez Furlong
46c759a08f
ci: add fedora 34
2021-05-02 09:29:40 -07:00
Wez Furlong
abf8235191
Create FUNDING.yml
2021-04-22 00:04:48 -07:00
Wez Furlong
e9372086ae
ci: update actions/cache
2021-04-19 09:24:48 -07:00
Wez Furlong
fb69545daa
config for the no-response bot
2021-04-15 19:09:31 -07:00
Wez Furlong
1af47804d2
ci: fixup cirrus exclusion
2021-03-28 20:39:49 -07:00
Wez Furlong
e7e90c7390
ci: pass PATH into get-deps
...
I think this will help find rustc for platforms that use sudo
2021-03-28 20:33:32 -07:00
Wez Furlong
f6f8b5906b
issue template: mention collectin the keyboard layout too
2021-03-02 09:13:41 -08:00
Wez Furlong
35060fb2de
Revert "ci: disable mdbook-linkcheck"
...
This reverts commit bef0fa29ac
and
bb2d45d0aa
.
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53
2021-02-24 09:28:00 -08:00
Wez Furlong
bb2d45d0aa
ci: html subdir disappears from mdbook build when disabling linkcheck
...
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53
2021-02-23 08:14:41 -08:00
Wez Furlong
bef0fa29ac
ci: disable mdbook-linkcheck
...
It no longer builds, and switching to an older version produces
errors :-(
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/53
2021-02-23 08:10:38 -08:00
Wez Furlong
951d15f2a1
ci: avoid building binaries just for doc changes
2021-02-20 10:57:37 -08:00
Wez Furlong
d28dca4b0a
ci: update to actions/cache@v2.1.4
2021-02-07 22:49:52 -08:00
Wez Furlong
79656f2bf3
ci: avoid triggering GH actions when editing cirrus config
2021-02-07 10:11:44 -08:00
Wez Furlong
ef41952cb5
ci: ignore/include docs for code/pages workflows
2021-02-07 09:59:10 -08:00
Wez Furlong
5775f4e432
ci: update page rebuild for master -> main branch rename
2021-02-07 09:49:52 -08:00
Wez Furlong
89438c2947
more updates for master
-> main
2021-02-03 21:51:01 -08:00
Wez Furlong
9a610358d1
docs: upgrade to mdbook 0.4, enable link checking
...
Standardize on `thing.md` rather than `thing.markdown` to make it
easier to cross link.
2021-01-30 14:14:29 -08:00
Wez Furlong
eb8923f3c5
ci: adjust continuous/nightly schedule
...
This commit reduces the cron schedule for nightly builds down from
hourly and to actually nightly (at ~3am).
The push-to-master flow now triggers effectively the same thing at push
time, so if anything, this will reduce the latency of the continuous
package build and deploy.
The push-to-master flow will now skip builds if it changes only the
docs.
2021-01-30 12:34:54 -08:00
Wez Furlong
42b95cd413
ci: generate universal binaries for macOS
...
This persuades the CI to install both the arm and intel flavors
of the rust toolchain on macOS, and the deploy script to generate
a universal binary.
* need big sur to build for M1
* Use cross-compilation compatible mlua from my fork for now
2021-01-13 20:11:58 -08:00
Wez Furlong
77d560029c
dependabot: switch to weekly schedule
...
It feels like daily is too frequent, plus, `cargo update` seems
to generally do a better job.
2020-12-10 21:35:31 -08:00
Wez Furlong
8f5b5b572e
ci: ubuntu 19 is EOL
2020-12-10 19:53:34 -08:00
Wez Furlong
02240891d3
ci: skip apt update for ubuntu 19.10
...
It's been failing for the past day
2020-12-10 19:44:49 -08:00
Wez Furlong
c226cd2f58
ci: tweak gh_pages build/push
2020-12-09 22:47:57 -08:00
Wez Furlong
35880cf4b1
docs: maybe fix pages build
2020-12-09 15:58:14 -08:00
Wez Furlong
7aa65fef80
docs: update pages workflow
2020-12-09 14:11:42 -08:00
Wez Furlong
eec27d81e3
Create dependabot.yml
2020-12-09 13:48:13 -08:00
Wez Furlong
dd11fc606a
ci: maybe fix centos 8
...
The internet suggests that the name should be lowercase.
Why this suddenly broke is beyond me.
2020-12-07 21:34:30 -08:00
Wez Furlong
ab54d1f897
Updates for building on Fedora 33
2020-11-29 10:26:11 -08:00
Wez Furlong
9d2df980e7
More fun with actions-rs/toolchain
...
I don't think that https://github.com/actions-rs/toolchain/issues/124
is 100% fixed, but this should fix our CI in the meantime.
2020-11-17 12:03:24 -08:00
Wez Furlong
8b9f6aed65
speculative fix for CI ( #333 )
...
* speculative fix for CI
GitHub made a breaking change, and this may get us through
until this action is updated.
refs: https://github.com/actions-rs/toolchain/pull/114
refs: https://github.com/actions-rs/toolchain/issues/124
2020-11-16 17:28:37 -08:00
Wez Furlong
0547fbb549
ci: set release as pre-release when tagging
...
also looks like I missed updating the source tarball
generation step in a prior adjustment.
2020-10-30 22:09:58 -07:00
Wez Furlong
46651caaf8
ci: disable cache on macos
2020-10-10 12:00:18 -07:00
Wez Furlong
bfe87b6bec
ci: more messing around with cache on macos
...
Something seems to poison the cargo cache between the PR
and continuous builds. Turn off caches for continuous builds.
2020-10-10 09:25:11 -07:00
Wez Furlong
2463510a88
ci: more adjustments for actions/cache@v2
2020-10-10 07:36:34 -07:00
Wez Furlong
4c639c1d54
ci: invalid github caches
...
The mac builds started to fail with a crate resolution issue that I
can't reproduce locally shortly after I updated the cache action. Let's
tweak the cache key to see if that clears things up.
2020-10-09 23:53:58 -07:00
Wez Furlong
22b6123624
ci: update to actions/cache@v2
2020-10-09 21:02:00 -07:00
Wez Furlong
573f2435c8
Automate updating linuxbrew tap
...
refs: https://github.com/wez/wezterm/issues/239
2020-07-05 09:40:52 -07:00
Wez Furlong
28eda7663e
ci: take another pass at updating apt
2020-06-19 21:46:33 -07:00
Wez Furlong
99e736605e
ci: run apt update on all apt based systems
...
GitHub actions ubuntu runs have been broken for the last day and
a half, so insert this to see if it will help.
2020-06-19 21:28:05 -07:00
Wez Furlong
9f4e40b540
make it a bit easier to consume wt-record
...
Since most users are unlikely to have built from source, adjust
the script so that it will find their installed wezterm.
Adjust the issue template to reference the wt-record script.
2020-06-12 08:51:15 -07:00
Wez Furlong
d979a63e1a
ci: hopefully last tweak for pushing macos homebrew tap
2020-06-08 10:16:43 -07:00
Wez Furlong
c5a6862b48
ci: maybe fix tagging -> homebrew tap
2020-06-08 09:18:03 -07:00
Wez Furlong
74889cd47a
ci: whoops(2): forgot to regeneate workflows
...
this should have been part of 9d6594869d
2020-06-07 14:46:57 -07:00
Wez Furlong
cb5aed126c
ci: maybe automate updating homebrew tap
...
refs: https://github.com/wez/wezterm/issues/208
2020-06-07 12:48:41 -07:00
Wez Furlong
d755c270e4
ci: add automation to update the wezterm-bin AUR at tag time
...
This is untested beyond eyeballing the locally generated file.
Will need to make a couple of tags to test this for sure.
refs: https://github.com/wez/wezterm/issues/209
2020-06-07 12:19:41 -07:00
Wez Furlong
f6171056f0
github: tweak issue templates
2020-06-01 08:23:08 -07:00
Wez Furlong
845a196b04
ci: change git download URL
...
looks like the SSL cert for kernel.org expired today, breaking some
of our CI flows.
Let's try switching to github's mirror for git.
2020-05-30 10:31:35 -07:00