"built an altar dedicated to Yahweh" or "built an altar for worshiping Yahweh." He may have built it with stones.
"burned the animals as offerings to Yahweh"