-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
compiled system image incorrect when building on GitHub Action MacOS-latest with Manifest.toml #438
Comments
for whoever wants to try themselves, I tagged different versions to build with or without a with |
I find out why, this is because I was using |
This happened when I commit the
Manifest.toml
to the repo and build it using this github Action:https://github.com/Roger-luo/IonCLI.jl/blob/master/.github/workflows/sysimg.yml
Everything works fine when there was no Manifest.toml in the repo, but when I build with
Manifest.toml
on GitHub action, after I download the system image and use it locally with-J
option, I gotso I use
nm
to check if there are any symbols compiled into this system image, but there is no symbols at all, e.g this imagehttps://github.com/Roger-luo/IonCLI.jl/releases/download/v0.4.6%2B1/ion-1.5.0-darwin-x86_64.tar.gz
I'm not sure if I'm doing something wrong, since the only difference between the working one is a
Manifest.toml
, the build script basically just callsPackageCompiler.create_sysimage
: https://github.com/Roger-luo/Comonicon.jl/blob/master/src/tools/build.jl#L317and it seems to be MacOS specific, Linux works just fine. However, when I build it locally on my own Macbook, it works fine too. My Macbook has the same MacOS minor version with GitHub Action. So I really have no idea why this doesn't work... Anyone could help me?
The text was updated successfully, but these errors were encountered: