Commit Graph
115 Commits
Author SHA1 Message Date
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 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 e9372086ae ci: update actions/cache 2021-04-19 09:24:48 -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 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 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 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