Commit Graph

14 Commits

Author SHA1 Message Date
d9e3a3f09f CI: make cuda tests even run to begin with
Arch profile.d scripts were converted to use an appending function that
disappears when /etc/profile exits, and overall are simply not suitable
-- any more -- for sourcing individually.

(I will freely admit I'm not really sure what the overall goal of
refraining from sourcing /etc/profile itself is. Arguably it's kind of
misuse of the profile...)

This silently broke the cuda tests, which never ran because the cuda
compiler was not detected as available.

While we are at it, I guess we can convert gentoo to use the same trick
of appending it in install.sh
2024-05-30 18:53:12 -04:00
3c7bc8cac3 CI image builder: fix profile loading for gentoo
We need to load various environment variables from /etc/profile. We
cannot unconditionally load it, because opensuse sources env_vars and
their /etc/profile has a fatal bug in it that causes it to return
nonzero and abort under `set -e` (which is *amazing* as a thing to have
in /etc/profile specifically -- just saying).

Alas, even /etc/profile.env is not enough since Java support depends on
profile.d logic. Re-conditionalize this check to only be added to
env_vars.sh for the image named "gentoo".
2024-02-09 16:19:27 -05:00
fe8123b484 ci: add Gentoo
We may want to consider our own binpkg cache for future to speed things up,
in addition to the ones provided by Gentoo's own binhost.

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
2024-02-09 13:54:01 -05:00
1f000de55a CI: fix broken ciimage builder script failing to correctly copy meson
Regression in commit 0af126fec7. We added
support for some "test cases/" stuff that actually relies on test files
being a symlink, but when testing the image builder, we copied the meson
repository contents into the docker container without telling python
that it is in fact super important to copy symlinks as symlinks.

As a result, the tests themselves ran fine when merging, but caused the
image builder to thereafter fail.
2023-10-04 02:03:03 -04:00
ded2204d2c ci: Add Rust Windows cross toolchain on ubuntu-rolling image 2023-07-20 13:51:25 -04:00
1d84989078 CI image builder: log commands a bit 2023-07-18 21:58:58 -04:00
ecaa1d19ed ci: Add TTY mode to the image builder mounting meson 2021-10-06 16:43:59 +02:00
3e396b3782 fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
f6b346f2e2 ci: Add an interactive mode (testTTY) for the CI image builder 2020-10-13 00:30:31 +02:00
afffb9e57d ci: Added bionic image 2020-04-28 17:54:02 +02:00
9c7ed96067 Fix typos 2020-04-10 10:05:19 +02:00
c7326aa098 ci: Added cuda image (Arch Linux based) 2020-04-05 22:54:29 +03:00
c17ed429be ci: Retry if dub fetch failed 2020-04-02 12:40:56 +02:00
6310f188be ci: New CI image builder infrastructure 2020-04-02 09:47:06 +02:00