-
Notifications
You must be signed in to change notification settings - Fork 34
Unable to use library directory on Windows #280
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
Comments
I should add this to the build output in the future, but what is your working directory? I'm wondering if there's a bug in the logic of path comparison -- note the mix of forward and backward slashes in |
Yes, the working directory started in |
The working directory needs to be the library under test itself, what's the name of that library? |
This is for 'Adafruit BusIO'. On my macOS we see the following:
|
OK, thanks. If you can confirm that you're running the command from |
Yes, that is where we ran the command |
😳 Well here's a problem I just fixed 83401aa |
Yes, the Windows workflow should probably run in Windows and not Linux! |
This was a couple months ago and we moved this student from Windows to a campus cloud Linux IDE environment, so it would be a bit of work to try to test it manually. I'm content with the changes making some improvements and revisiting the issue if we reproduce it. |
I believe that a fix has been merged as part of #334 and was released in I added some translations between windows (backslash) and MacOS/Linux (forward slash) paths, and some unit tests. There was some affected code in the library installation, and hopefully this is now fixed. Please file a new issue if not, as several aspects of the runner and architecture have changed. |
On one of my student's Windows machine we find the following:
Here is the directory on Windows:
On my macOS machine we find the following:
Here is the directory on macOS:
So, on Windows it says that the library must be removed (an error), while on macOS it says that the library exists (a warning). When we move the working directory out of
C:\Users\calvo\Documents\Arduino/libraries
then we no longer get that error. Instead we get the following:Interestingly, we are running the same version of Arduino-cli (0.13.0), but his environment thinks that the library conforms to specification 1.0 while mine thinks that the library conforms to specification 1.5.
The text was updated successfully, but these errors were encountered: