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 Action build fails #45

Closed
jminor opened this issue Jan 26, 2024 · 4 comments
Closed

GitHub Action build fails #45

jminor opened this issue Jan 26, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@jminor
Copy link
Member

jminor commented Jan 26, 2024

This project's GitHub Action currently fails with the following error:

error: unable to open dependencies file (/Users/runner/work/OpenTimelineIO-Swift-Bindings/OpenTimelineIO-Swift-Bindings/.build/x86_64-apple-macosx/debug/OpenTimelineIO_CXX.build/OpenTimelineIOConfig.cmake.in.d)
@jminor jminor added the bug Something isn't working label Jan 26, 2024
@jminor
Copy link
Member Author

jminor commented Jan 26, 2024

For comparison, swift build and swift test work fine on my development macOS host, which is running macOS Sonoma 14.3 and Xcode 15.2.0

The GitHub Actions runner seems to be using macOS 12.7.2 and Xcode 14.2. I don't have a access to an equivalent machine for comparison.

@jminor jminor added the help wanted Extra attention is needed label Jan 26, 2024
@jminor
Copy link
Member Author

jminor commented Feb 6, 2024

Fixed by #47

FYI, @Jameclarke said the fix was accomplished by "set up a macos12 virtual environment using UTM and installed act to run the workflow" and then iterating to determine that two .cmake.in files needed to be excluded from the Package.swift. See #47 for more details.

@jminor jminor closed this as completed Feb 6, 2024
@jminor
Copy link
Member Author

jminor commented Feb 6, 2024

Sadly this doesn't seem to have helped #44 ...

@jminor jminor reopened this Feb 6, 2024
Jameclarke added a commit to Jameclarke/OpenTimelineIO-Swift-Bindings that referenced this issue Feb 7, 2024
Jameclarke added a commit to Jameclarke/OpenTimelineIO-Swift-Bindings that referenced this issue Feb 7, 2024
Jameclarke added a commit to Jameclarke/OpenTimelineIO-Swift-Bindings that referenced this issue Feb 8, 2024
meshula pushed a commit that referenced this issue Feb 11, 2024
* Added exclude files to SPM to pass tests for macOS 12
* Github Actions Fail #45 - Potential Fix
* Update Package.swift

Signed-off-by: Jame Clarke <[email protected]>
@jminor
Copy link
Member Author

jminor commented Feb 11, 2024

Yay! #48 worked! Thanks so much for the help @Jameclarke and @meshula !

@jminor jminor closed this as completed Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant