AZP: merge macos jobs using env variables, add swift 5.4 on linux, use ubntu 18.04
AZP: merge macos jobs using env variables, add swift 5.4 on linux, use ubntu 18.04

tsolomko/SWCompression,tsolomko/SWCompression,tsolomko/SWCompression