Simultaneous compression of NaCl, Au, and ruby