Commit Graph

5 Commits

Author SHA1 Message Date
Michel Dänzer 5c18e25e12 ci: Export LP_NUM_THREADS=0 for meson test
This prevents the Mesa llvmpipe driver from spawning (potentially lots
of) worker threads.

Suggested by Daniel Stone on IRC.
2023-01-19 15:11:17 +01:00
Michel Dänzer 81d91f7d01 ci: Move dist testing to a separate job
Multiple reasons, in particular:

* Doing it in every build & test job duplicates effort, resulting in
  the pipeline taking longer than necessary.
* We cannot limit the number of test processes spawned by meson dist.
* There's little point running tests for dist anyway, we just want to
  make sure we can build & install from the generated tarball.
2023-01-19 15:08:57 +01:00
Michel Dänzer b2dee689fa ci: Use "meson test" instead of "ninja test"
This lets us actually limit the number of test processes spawned in
parallel.

(ninja test runs meson test without --num-processes, so it ends up
spawning as many processes in parallel as there are CPU cores)
2023-01-19 15:07:57 +01:00
Michel Dänzer 421e066ec4 ci: Check that all expected piglit results are there
Without these, the build jobs would spuriously pass if some of the
expected piglit tests didn't run at all.

v2:
* Use local variables instead of starting their names with underscores
  (Peter Hutterer)
2022-09-07 18:50:15 +02:00
Michel Dänzer 67bca99637 ci: Move build job script to a separate file
Will make it easier to do more complex shell stuff.

No functional change intended.

v2:
* Use /bin/bash instead of /bin/sh (Peter Hutterer)
* Export environment variables on a separate line (Peter)
* Use "set" command instead of shell command line arguments, for
  consistency with debian-install.sh.
2022-09-02 14:52:20 +02:00