Switch build to msvc for windows.

Switch build to clang for linux.

Mingw binaries isn't working with vanilla hlds / listenserver. And i'm too lazy to debug them.

For consistency reason, linux switched clang, so we're only have clang for linux & osx and msvc for windows.
This commit is contained in:
ds 2020-11-13 19:16:56 +03:00
commit 655693582a
6 changed files with 99 additions and 94 deletions

View file

@ -8,12 +8,6 @@ jobs:
runs-on: self-hosted
steps:
- name: Runner Cleanup
shell: bash
run: |
echo "Cleaning up previous run"
rm -rf "${{ github.workspace }}/*"
- uses: actions/checkout@v2
with:
submodules: true
@ -22,9 +16,9 @@ jobs:
- name: Setup Meson
shell: bash
run: |
meson setup build_x86_win32 --cross-file=/actions/meson/linux-mingw-w64-32bit.txt
meson setup build_x86_win32 --cross-file=/actions/meson/windows-msvc-32bit.txt -Db_vscrt=mt
meson setup build_x86_macos --cross-file=/actions/meson/darwin-clang-32bit.txt
meson setup build_x86_linux
CXX=clang meson setup build_x86_linux
- name: Build Bot
shell: bash