-
Notifications
You must be signed in to change notification settings - Fork 13
Create CI #1
Comments
sccache already provides quite a bit of unit tests as well as a custom test harness. So my idea (feel free to improve upon this) is twofold: Unit TestsBe able to launch unit tests and the tiny integration tests with the regular Some of the bigger/half-integration tests require There are two ways to do this:
Either way container execution (overlay fs, linux namespace caps) need to be avail in the CI. Integration TestsObsolete Pending the coverage of the dist harness and test cases, we should consider running a defined dummy crate with a certain set of uglinesses (FFI,
|
Having had a few minutes to look into the |
Shall I introduce |
After removing |
|
Ok, will attempt to assemble a new CI env image. Anything specific that you think should be included there? |
Requirements: Binaries:
Libs (including headers and devel):
In a perfect world we'd have fedora, centos, and ubuntu (the latest each to run the test inside to avoid fallout from users) |
I see stuff like broot/ripgrep/sd and wonder, are you going to use this env for the development as well? And also, could you please mention some versions other than clang 11? |
I was more thinking the latest that is available as a base container, so depending on the base container we get common setup profiles, which we test against. I.e. latest fedora with updates and latest ubuntu with updates. My idea with those tools is mostly to be able to dig into issues that are not reproducible locally, but in the container env. |
What's the success criterion? I mean, besides obvious "able to run the current CI jobs". What would be the command to test dist? |
|
I've built a first CI image version, you can check it out from Getting this after running the above command:
|
@drahnr, please describe here how do you want it.
The text was updated successfully, but these errors were encountered: