-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Publish AOT artefacts for Fantomas #3090
base: v7.0
Are you sure you want to change the base?
Conversation
Currently getting:
@Numpsy I saw you mentioned that Fargo was AOT compatible. Did you run into this issue when testing this? |
I have a CLI tool in a project at work that's working with Fargo in AOT. Do you have any AOT analysis warnings in the build that suggest issues? |
Actually, looks like it might be dotnet/fsharp#15488 (reported by the author of Fargo)? |
That was it, bingo! |
@nojaf Do you know why the builds aren't completing? I'd like to get to all green ticks before swapping the PR to be non-draft. |
I need to press a button to approve running CI first. I believe this is because it is your first contribution. |
You might also want to sync your PR with the latest main. |
Thanks! |
If the lock file is too much of a pain, I think I can live without them. |
I think I've solved the lockfile issue, I was mostly just getting confused as I accidentally left a stray RuntimeIdentifier in Fantomas.fsproj. |
@nojaf I see that my build is succeeding in the dev container ( https://github.com/fsprojects/fantomas/actions/runs/9841310391/job/27168319253) but not on the other platforms (https://github.com/fsprojects/fantomas/actions/runs/9841310391/job/27168319712)
Do you have an idea what's different between the dev container vs the other platforms, and how to fix this? |
If you use lockfiles then you'll need to pin the SDK version very strictly (no floating at all) to ensure reproducibility. The AOT support packages bump with almost every release of the SDK (including monthly security releases) and so are very up for change. The lockfile mechanism in NuGet doesn't easily allow for ignoring these kind of sdk-provided packages, and it's an area of pain that the SDK team is trying to bridge with the NuGet team. So right now, either:
|
does the dev container only have the 8.0.200 SDK installed, and the other runners have that plus 8.0.3XX ? |
Thinking about this more, how about they're kept for the main pipeline but we pass |
Would work for me.
Yes, taking a look at this in #3100 |
@TobyShaw could you rebase (or merge master) again? |
Sorry for commit spam, having to edit via the browser lol |
Hi @TobyShaw, I've changed the base branch to v7. |
Hello @TobyShaw, do you have any plans to pick this up in the near future? |
Please verify your pull request is respecting our Pull request ground rules.
You can find more information in our Contributors documentation section.