While both semolina pasta and whole-wheat pasta contain gluten, many gluten-free varieties are readily available. Gluten-free pasta can be made from corn, rice, amaranth, quinoa, millet, chickpeas, beans, lentils, yellow peas, or a combination of two or more of these ingredients.