alliedmodders / amxmodx

AMX Mod X - Half-Life 1 Scripting and Administration
http://www.amxmodx.org/
489 stars 197 forks source link

[Build] Implement CI for MacOS via appveyor #1013

Closed ShootingKing-AM closed 2 years ago

ShootingKing-AM commented 2 years ago

Since earlier CI (#1003), we missed out on MacOS builds, this PR implements MacOS builds via Appveyor.

Appveyor vs Github Actions (MacOS)

Appveyor provides 3 OS Imags for MacOS, viz.,

macOS 11.5.2 "Big Sur"
macOS 10.15.7 "Catalina"
macOS 10.14.6 "Mojave"

and GitHub actions provides only 2 OS Images, viz.,

macOS 11
macOS 10.15

and with given instructions on wiki, i couldn't find a way to build Amxmodx on MacOS > 10.14. MacOS officially drops support for 32bit binaries from 10.15 onwards (even Developer Commandline tools dosent have i386 libs). Anyways if anyone can find a method to build amxmodx on MacOS > 10.14, i can try to convert it into Github Actions.

With that being said, Present Build matrix is,

MacOS Runners

MacOS Runners Image Compiler
Appveyor MacOS job macOS 10.14.6 "Mojave" apple-clang version 11.0
BuildBot MacOS Slave macos-10.14 apple-clang version 11.0

Linux Runners

Linux Runners Image Compiler
Github Actions linux-ubuntu-latest-gcc (on this date) - gcc (Ubuntu 9.3.0-17ubuntu1\~20.04) 9.3.0
- g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Github Actions linux-ubuntu-latest-clang (on this date) clang version 10.0.0-4ubuntu1
Github Actions linux-ubuntu-18.04-gcc-6 - gcc-6 (Ubuntu 6.5.0-2ubuntu1\~18.04) 6.5.0 20181026
- g++6 (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026
Github Actions linux-ubuntu-18.04-clang-3.9 clang version 3.9.1-19ubuntu1 (tags/RELEASE_391/rc2)
BuildBot Linux Slave - clang version 3.8

Windows Runners

Windows Runners Image Compiler
Appveyor Windows job Windows 2012 msvc version _MSC_VER 1900
msvc++v14.00 1900 Visual Studio 2015v14.0
Github Actions windows-windows-2016-msvc++14.16-vs2017-cl msvc version 1916 - Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27045 for x86 MSVC++14.16 (Visual Studio 2017v15.9)
Github Actions windows-windows-latest-msvc (on this date) msvc version 1929 - Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x86 MSVC++14.29 (Visual Studio 2019v16.10+16.11)
BuildBot Windows Slave - msvc version _MSC_VER 1900
MSVC++14.0 Visual Studio 2015v14.0

Appveyor now builds for MacOS along with the earlier set Windows Build - msvc++v14.00 1900 Visual Studio 2015.

Changes Pertaining to Windows build job in Appveyor

ShootingKing-AM commented 2 years ago

Plz dont see the commit history 🙈 (not that neat)

ShootingKing-AM commented 2 years ago

@Arkshine