dftlibs / xcfun

XCFun: A library of exchange-correlation functionals with arbitrary-order derivatives
https://dftlibs.org/xcfun/
Mozilla Public License 2.0
57 stars 32 forks source link

Add Windows pipeline #127

Closed robertodr closed 4 years ago

robertodr commented 4 years ago

Currently fails during testing of the Python interface. Not sure how to fix it.

UPDATE As per later comment, I still don't know how to fix it. But I am pretty sure it's some weird quirk in Azure...

Todos

Types of changes

Status

robertodr commented 4 years ago

I've commented out the testing of the Python module in the Windows pipeline. I am reasonably confident this is an Azure problem. This is the output, but if I ls in the D:\a\1\Software\xcfun\lib\python\xcfun folder, I can see that the Python extension _xcfun is there. :shrug:

Starting: Test XCFun Python module
==============================================================================
Task         : Command line
Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version      : 2.164.2
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
========================== Starting Command Output ===========================
"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\b2153499-bfb1-4541-a45a-2622490e3e0f.cmd""
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\a\1\Software\xcfun\lib\python\xcfun\__init__.py", line 15, in <module>
    from .xcfun import *
  File "D:\a\1\Software\xcfun\lib\python\xcfun\xcfun.py", line 17, in <module>
    from ._xcfun import *
ImportError: DLL load failed while importing _xcfun: The specified module could not be found.
##[error]Cmd.exe exited with code '1'.
Finishing: Test XCFun Python module