-
Notifications
You must be signed in to change notification settings - Fork 23
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
Update generate_binaries.jl #97
Conversation
bff55b2
to
ed052a0
Compare
@cvanaret
I don't why but I have an error on my fork and the CI build for a new release will fail because of that. |
I still get the error with |
I don't have this issue with a a local build. |
@@ -47,6 +30,12 @@ for (platform, libdir, ext) in platforms | |||
# Unzip the tarball of the dependencies | |||
run(`tar -xzf products/$platform/deps.tar.gz -C products/$platform`) | |||
|
|||
# Copy the license of each dependency | |||
for folder in readdir("products/$platform/deps/licenses") | |||
cp("products/$platform/deps/licenses/$folder", "products/$platform/share/licenses/$folder") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need
mkdir "products/$platform/share
mkdir "products/$platform/share/licenses
here?
The binary generation failed with: Run julia --color=yes .github/julia/generate_binaries.jl
ERROR: LoadError: IOError: mkdir("products/aarch64-apple-darwin-cxx11/share/licenses/ASL"; mode=0o777): no such file or directory (ENOENT) see https://github.com/cvanaret/Uno/actions/runs/11879298357/job/33101034439#step:9:10 |
Copy the license of each dependency when we generate the precompiled archives.