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: make unzip target depend on download target #848

Merged
merged 14 commits into from
Jul 12, 2024

Conversation

m0nsky
Copy link
Contributor

@m0nsky m0nsky commented Jul 12, 2024

Attempt to fix CI randomly failing due to "because the file does not exist or is inaccessible" when trying to unzip the deps from LLamaBinaries.

Microsoft mentions the following for the target build order:

In general, you shouldn't depend on the declaration order to specify what tasks run before other tasks.

This PR splits up the download & unzip targets and makes the unzip target depend on the download target, so that they can never be executed in the wrong order, and adds download retries so that the build does not fail if there is a temporary issue when downloading the file.

@m0nsky m0nsky marked this pull request as ready for review July 12, 2024 10:25
@martindevans
Copy link
Member

Looks like this is still failing due to the zip file not existing.

@martindevans
Copy link
Member

Thankyou for all the hard work debugging this!

@martindevans martindevans merged commit 1c19392 into SciSharp:master Jul 12, 2024
6 checks passed
@m0nsky m0nsky deleted the fix-unzip-ci branch July 12, 2024 20:52
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.

2 participants