Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github/workflows/os_comp.yml: set HOME to /root on OpenSUSE #13673

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

the-horo
Copy link
Contributor

D tests in CI are currently skipped on OpenSUSE:

2024-09-13T05:41:49.5905706Z ##[group]Run bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS'
2024-09-13T05:41:49.5906827Z bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS'
2024-09-13T05:41:49.5910232Z shell: sh -e {0}
2024-09-13T05:41:49.5910719Z env:
2024-09-13T05:41:49.5911076Z   ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
2024-09-13T05:41:49.5911543Z   MESON_CI_JOBNAME: linux-opensuse-gcc
2024-09-13T05:41:49.5912026Z ##[endgroup]
2024-09-13T05:41:49.6638977Z /ci/env_vars.sh: line 12: /github/home/dlang/dmd-2.109.1/activate: No such file or directory
2024-09-13T05:41:50.2631396Z Meson build system 1.5.99 Project and Unit Tests
#### <snip>
2024-09-13T05:51:49.9153096Z  [SKIPPED]   failing: 80 dub library
2024-09-13T05:51:49.9154187Z Reason: test requires D compiler
2024-09-13T05:51:49.9160901Z  [SKIPPED]   failing: 81 dub executable
2024-09-13T05:51:49.9162680Z Reason: test requires D compiler
2024-09-13T05:51:49.9173974Z  [SKIPPED]   failing: 82 dub compiler    (warning_level=1)
2024-09-13T05:51:49.9175726Z Reason: not run because preconditions were not met
#### <snip>
2024-09-13T05:53:50.7814038Z 
2024-09-13T05:53:50.7814564Z Not running d tests.
2024-09-13T05:53:50.7814992Z 

@thesamesam
Copy link
Collaborator

Please include some information in the commit message too.

The D compiler and associated tools are installed under /root and the
setup script run during the actual testing expects that `~` will
expand to the same path. Because github overrides HOME the dmd
environment setup script will not be run which leads to all D related
tests being skipped, even though the whole test suite reports as
having finished successfully.

Signed-off-by: Andrei Horodniceanu <[email protected]>
@dcbaker dcbaker merged commit 726d9c0 into mesonbuild:master Sep 23, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants