Skip to content

Library not included, when source-path: points to private repo #167

Closed
@aliphys

Description

@aliphys

Describe the problem

I want to check that the examples in library A compile correctly prior to public release. However, library A is dependant upon library B. Both libraries are private.

The compile-sketches-private.yml workflow works for library B, but not library A.

To reproduce

  1. Create two private repos. Let's call them LibA and LibB. LibB has no external dependancies, outside what is inside the library manager. LibA however is dependant upon LibB (i.e. has #include "LibB" in the example sketches)
  2. Copy the compile-sketches-private.yml workflow to the .github/workflows folder in each repo. Configure the fqbn: and add libraies from the library manager (e.g. libraries: - name: Servo)
  3. Inside the compile-sketches-private.yml for LibA, refer to LibB as follows:
 libraries: |
            # Install the library from the local path.
            - source-path: ./
            - source-path: https://github.com/arduino-libraries/LibB
  1. When running the workflow, I get a message stating the following:
Error: Library source path: https:/github.com/arduino-libraries/LibB doesn't exist
Error: Process completed with exit code 1.

Expected behavior

Private libraries to which my account (or the organisation hosting it) have access to should be acceptable entries to source-path:

'arduino/compile-sketches' version

per1234/.github@b7b3433

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

conclusion: invalidIssue/PR not validtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions