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

CI: Have nc-autotools use source distribution #1

Merged
merged 7 commits into from
Jan 30, 2023

Conversation

DWesl
Copy link
Owner

@DWesl DWesl commented Jan 29, 2023

Instead of a clone of the repository, have the nc-autotools job work from a source distribution prepared by a previous autotools CI job.

This should catch most of the "files not included in EXTRA_DIST" or similar issues I remember, and probably most of the "netcdf-c does not pass make distcheck" errors.

Instead of a clone of the repository, have the nc-autotools job work from a source distribution prepared by a previous autotools CI job.

This should catch most of the "files not included in EXTRA_DIST" or similar issues I remember, and probably most of the "netcdf-c does not pass make distcheck" errors.
GHA doesn't auto-move you to the source directory when you start from source distribution rather than an actions/checkout clone.
I forgot they usually had the same stem.
I forgot this would also need to be changed.
On the other hand, it's confirmation that cd doesn't stick between steps.
I forgot to do this the last two times.  This should be the last place it's needed, so there should be a different error on this CI run.
@DWesl DWesl changed the base branch from main to autotools-pseudo-make-distcheck January 30, 2023 19:02
@DWesl DWesl marked this pull request as ready for review January 30, 2023 19:02
@DWesl DWesl merged commit 31cc60e into autotools-pseudo-make-distcheck Jan 30, 2023
DWesl pushed a commit that referenced this pull request Mar 12, 2024
re: Unidata#2733

When addressing the above issue, I noticed that there was a disconnect
in NCZarr between nc_set_chunk_cache and nc_set_var_chunk cache.
Specifically, setting nc_set_chunk_cache had no impact on the per-variable cache parameters when nc_set_var_chunk_cache was not used.

So, modified the NCZarr code so that the per-variable cache parameters are set in this order (#1 is first choice):
1. The values set by nc_set_var_chunk_cache
2. The values set by nc_set_chunk_cache
3. The defaults set by configure.ac
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.

1 participant