GO:0071709: membrane assembly
The aggregation, arrangement and bonding together of a set of components to form a membrane.