Mockolate claims Native AOT and trimming support, but most of the code that runs in a test is generated into the consumer's assembly, which the library's analyzers never see. The only check was a test app that nothing published or ran and that asserted nothing. The app now runs one check per main feature and fails with exit code 1, and the new `AotSmokeTests` target runs it under the JIT, publishes it with Native AOT and runs the published executable on Ubuntu, Windows and macOS. Pushing a release waits for it.
- Compiler, trim and AOT warnings fail the app's build and publish.
Mockolate claims Native AOT and trimming support, but most of the code that runs in a test is generated into the consumer's assembly, which the library's analyzers never see. The only check was a test app that nothing published or ran and that asserted nothing. The app now runs one check per main feature and fails with exit code 1, and the new
AotSmokeTeststarget runs it under the JIT, publishes it with Native AOT and runs the published executable on Ubuntu, Windows and macOS. Pushing a release waits for it.