Mali’s army said on Saturday it was battling armed fighters who attacked their barracks in Bamako and other parts of the country.