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

Write vcpkg arrow port ABI info in CI #384

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

adamreeve
Copy link
Contributor

This should help us understand why vcpkg sometimes fails to use cached previous builds

@adamreeve adamreeve marked this pull request as ready for review October 16, 2023 20:48
run: cat ./build/${{ steps.vcpkg-info.outputs.triplet }}-release/vcpkg_installed/${{ steps.vcpkg-info.outputs.triplet }}/share/arrow/vcpkg_abi_info.txt
- name: Dump vcpkg arrow abi info (Windows)
if: runner.os == 'Windows'
run: Get-Content ./build/${{ steps.vcpkg-info.outputs.triplet }}/vcpkg_installed/${{ steps.vcpkg-info.outputs.triplet }}/share/arrow/vcpkg_abi_info.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think it is possible to use powershell or unix tools on all OSes, so there is no need to do it conditionally. But doing it conditionally is fine too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I originally just had one job for all OSs, as powershell recognizes cat as an alias for Get-Content, but the Windows path is slightly different and doesn't have the extra "-release". I could probably figure out how to add that conditionally, but it seemed easier just to have separate jobs.

@adamreeve adamreeve merged commit 693dc90 into G-Research:master Oct 17, 2023
28 checks passed
@adamreeve adamreeve deleted the abi-dump branch October 17, 2023 20:24
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.

None yet

2 participants