Buckling analysis of semi-rigid gabled frames