Discrete-to-continuum approaches to the mechanics of pentamode bearings