Simulations of compression and thermonuclear burn of a radiation-driven inertial-fusion target