Of course you don't, for some reason I was thinking about the case where the volume is being decreased to raise the pressure. Actually, 'thinking' is probably not the right word for what I was doing. 😡
There are two ways to increase the pressure for a constant volume:
- increase the amount of matter - that's not work, that's just making the system larger.
- raise the temperature - again, adding heat is not work, it's just adding heat