I deal with the odd workout schedules by doing most of my “work” at home. If I plan to get in 5 good days of work at home, I do that. I then let say 2 of 4 work days be “rest” days. In the other two I try to find the most optimal workout situation for me and make it work. I’ve generally maintained my 4-6 days a week for 13 years now in this job and it works out ok. On days where lifting just isn’t in the cards due to fatigue or other, I just plan an easy run or similar.