Wez Furlong
c667224674
ci: drop support for building on debian 9
...
The toolchain has problems compiling harfbuzz 4.4.1 and I don't feel
like troubleshooting it.
2022-07-04 15:44:44 -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
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
7dd6de77c6
ci: run black
on generate-workflows.py
2022-04-25 21:11:00 -07:00
gimbles
7f956e9f97
feat: Add Ubuntu 22.04 target
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
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
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
dc728b3895
feat: use global/job level env, add alpine
...
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
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
Wez Furlong
0c6b4e261d
update CI script for #1580
2022-01-26 10:52:30 -07:00
Wez Furlong
11567c2097
ci: put fmt check into separate workflow
2022-01-16 19:07:47 -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
Wez Furlong
fc069f9298
ci: add centos 9
2022-01-01 17:43:44 -07:00
Wez Furlong
7edc5b5ab0
ci: urgh, try another way
2022-01-01 13:33:40 -07:00
Wez Furlong
e11b9460ef
ci: try alternative way of passing tag name
2022-01-01 13:10:08 -07:00
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
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