I have already followed all the guidelines described in the installation page of ESP32 library for Arduino from Github, but the boards aren't listed in the IDE. Apparently everything is installed correctly, no errors.
The Arduino IDE has problems compiling with files on OneDrive but I've never seen that affect hardware packages and thinking about it more I don't think it would.
Please provide a directory listing or screenshot of the hardware subfolder of your sketchbook folder showing the contents of the espressif subfolder.
Is your sketchbook folder located inside your OneDrive?
No.
But, after reading your question your question I remembered that I had changed the default directory of "Sketchbook Location" and so IDE couldn't find the new library in its standard Sketchbook. After returning to the default directory, the ESP32 board was listed in "Tools -> Boards" menu.
Thank you for your help.