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

ci/run.ps1: Clean up D related code #13629

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

the-horo
Copy link
Contributor

@the-horo the-horo commented Sep 3, 2024

Bump the version of the cidata archive and remove the code that tries to setup dmd and the dub packages from run.ps1 as it doesn't work as expected (builds for x86 instead of x86_64) and cidata should already take care of them.

@the-horo
Copy link
Contributor Author

the-horo commented Sep 3, 2024

One failure but it looks unrelated to D:

$ C:\hostedtoolcache\windows\Python\3.7.9\x64\python.exe D:\a\1\s\meson.py setup --backend=ninja --prefix /usr --libdir lib -Dc_wrong=1 -Dwrong:bad=1 D:\a\1\s\tmpt6t87dfg "D:\a\1\s\test cases/unit\34 command line"
stdout:
Traceback (most recent call last):
  File "D:\a\1\s\mesonbuild\mesonmain.py", line 188, in run
    return options.run_func(options)
  File "D:\a\1\s\mesonbuild\msetup.py", line 364, in run
    app = MesonApp(options)
  File "D:\a\1\s\mesonbuild\msetup.py", line 75, in __init__
    (self.source_dir, self.build_dir) = self.validate_dirs()
  File "D:\a\1\s\mesonbuild\msetup.py", line 155, in validate_dirs
    (src_dir, build_dir) = self.validate_core_dirs(self.options.builddir, self.options.sourcedir)
  File "D:\a\1\s\mesonbuild\msetup.py", line 128, in validate_core_dirs
    os.makedirs(ndir1, exist_ok=True)
  File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\os.py", line 223, in makedirs
    mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'D:\\a\\1\\s\\tmpt6t87dfg'

ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.

'D:\\a\\1\\s\\tmpt6t87dfg\\meson-logs\\meson-log.txt' doesn't exist
'D:\\a\\1\\s\\tmpt6t87dfg\\meson-logs\\meson-log.txt' doesn't exist
=========================== short test summary info ===========================
FAILED unittests/allplatformstests.py::AllPlatformTests::test_command_line - PermissionError: [Errno 13] Permission denied: 'D:\\a\\1\\s\\tmpt6t87dfg\\meson-logs\\meson-log.txt'

Bump the version of the cidata archive and remove the code that tries
to setup dmd and the dub packages from run.ps1 as it doesn't work as
expected (builds for x86 instead of x86_64) and cidata should already
take care of them.

Signed-off-by: Andrei Horodniceanu <[email protected]>
@eli-schwartz eli-schwartz merged commit 1888697 into mesonbuild:master Sep 13, 2024
2 of 6 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.

2 participants