[CI] Github Actions#8304
Conversation
Oh dear, just like CircleCI. :-/ |
Quick hack solution, long term koreader/koreader#7775 and/or koreader/koreader#8304
and here i thought it was my fault :) |
Yes, upwards compatibility is better than downwards. That applies for the Debian packages as well as the AppImage. They'll be compatible with basically everything newer than Ubuntu 18.04/Debian 10. https://docs.appimage.org/introduction/concepts.html#build-on-old-systems As a corollary, I'd like people to pick up hacking the project as easily as possible, i.e., without having to download a custom brand new CMake or some such. Of course that's only a general guideline. Ubuntu 18.04 ships with CMake 3.10 and there are definite reasons to prefer at least 3.13 (and if you do that you might as well go straight for 3.16, which is a commonly backported version). But unless there are concrete advantages, the older the better, so to speak. Also keep in mind @NiLuJe runs the very latest of everything, I tend to be a touch more conservative with currently Debian 11 and Kubuntu 21.10 but, ya know, it's not Debian 10 or something ;-) so the CI also ensures it actually won't break on those older systems. We already test on newer ones ourselves. |
|
Ok, it works now with 0.1.8 |
Nah, I thought #7775 was just a small change but it's been on hold because I don't know what might be going wrong. Running the same thing in Docker locally doesn't produce any segfaults on any of my systems. PS I just realized I forgot to use a newer busted in the 0.2.2 Docker images; normally I'm not in a rush when putting them together. |
|
Base cache works :) |
|
Cached action takes ~6min to run |
a5f9ea2 to
8fed406
Compare
|
@yparitcher There should be a similar mechanism as in CircleCI to prevent that. Note the Lines 36 to 37 in 54605d8 |
|
That's an interesting thought, yeah. Might be worth trying to force a dumb |
|
@yparitcher <https://github.com/yparitcher> There should be a similar mechanism as in CircleCI to prevent that. Note the `{{ arch }}`. I'm fairly sure dumping the cache was also one of the first things I tried when I first saw this issue in CircleCI (not because of different arch, see above, but because of the different compilers in the Docker images). I can experiment with that some more if you like; I shelved it in favor of this PR.
https://github.com/koreader/koreader/blob/54605d83134898ba197d5bf2ee9b8199b7b70d7a/.circleci/config.yml#L36-L37
github actions does not have a way to determine arch, also i think it might be a sub arch thing AVX instructions or something.
|
|
The translations/docs require a PAT to be able to commit to a different repo |
|
Bus factor - 1. |
With great power comes great responsibility. |
|
Yup! :-) |
|
|
|
@Frenzie github action are run with a With a organization Github Apps one can give the app only repo permissions and these permissions will only be applied to the repos the app is installed to. Based on the above, I have a few questions/ suggestions.
|
|
BTW even with the 0.1x it still the test still fail intermittently with "illegal instruction", so if someone can figure out how to make a generic x64 build it would be nice to test. Edit: weirdly the action run on my fork for the same commit succeeded |
Yes but also no. Travis committed suicide and while you'd think the new Travis would be a drop in replacement it either isn't or it just doesn't work for me. But in any case travis*.org* is defunct. Put another way, there are some things not converted to GHA yet. |
|
@yparitcher |
|
superseded by #8428 |
@Frenzie some progress here ;)
no root needed so far.
TODO
- [ ] git >= 2.18 in docker image.- [ ]test.shparallelize?after_success.shwill only run on master push, but we need support for the right secrets etc.This change is