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
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
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
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
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
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
30fd56c35f
ci: actions/cache -> 2.1.7
2021-11-28 19:10:08 -07: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
Frieder Bluemle
b56f67579d
ci: Simplify and clean up generate-workflows.py
2021-10-02 10:11:54 -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
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
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
89438c2947
more updates for master
-> main
2021-02-03 21:51:01 -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
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
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
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
Wez Furlong
79e5c0e52d
CI: set debconf to non-interactive and unblock ubuntu20
...
Also using sudo in the CI config if we don't need it.
2020-05-03 22:37:31 -07:00
Wez Furlong
ba804589fd
Generate builds for more platforms
...
tweak some container names
fixup container names and regenerate the config
Ensure that curl is installed
the rust toolchain stuff wants curl
run apt update before apt install
centralize updating apt, and install sudo
revise get-deps script for slimmer debian images
more container related tweaks
get-deps: Don't require lsb-release on debianish systems
more get-deps improvements
Explicitly ask GH actions to recursively checkout the repo
Explicitly install git
fetch tags and tweak git build for debian systems
moar adjustments
remove deb8 (its wayland is too old), fixup debian publish
Ensure git build deps are installed always, tidy up sudo usage
2020-05-03 15:11:35 -07:00