On the 8GB Star64 running Armbian, I’ve gotten cgminer 4.11.1 compiling and working with a Gekkoscience Newpac miner.
I assume 4.12 will work as well, I just haven’t tried. My miner requires the older code.
You can download my Armbian never-booted image (without cgminer) here:
It requires at least a 2GB microSD.