They also do delivery so that may be worth it cost/time wise. I will warn you that Walmart is pretty shitty and often out of random things, if you insist on Walmart I'd check the app for what you are looking for before making the trek, it isn't always accurate but will help you not waste as much time. Brazos transit district has a stop on Longmire right next to the Walmart complex.
A&M's nearest route stop to Walmart in CS is at the park and ride on Welsh, like 2 miles from Walmart and sidewalks are sporadic in that neighborhood/I do not rec riding a bike over there.