Yes, your (ivy bridge) processor is compatible, but barely.
https://ark.intel.com/products/74749/Intel-Pentium-Processor-G2030-3M-Cache-3_00-GHz Intel® Pentium® Processor G2030 (3M Cache, 3.00 GHz) Product Specifications
It is not supported on windows 10 32-bit, and is supported on Windows 10 64-bit, but only if you upgraded from Windows 7 or 8.x
https://www.intel.com/content/www/us/en/support/articles/000006105/processors.html Does My Intel® Processor Support Microsoft Windows® 10?
Personally, I would upgrade to a new(er) system that is fully supported on Windows 10, and avoid the problems and heartbreaks you will experience.