|
|
@ -13,7 +13,7 @@ jobs: |
|
|
|
fail-fast: false |
|
|
|
max-parallel: 1 |
|
|
|
matrix: |
|
|
|
compiler: [mingw-w64, clang, msvc16] |
|
|
|
compiler: [mingw-w64, msvc16] |
|
|
|
bits: [32, 64] |
|
|
|
include: |
|
|
|
- compiler: mingw-w64 |
|
|
@ -26,14 +26,6 @@ jobs: |
|
|
|
ARCH: "x86_64" |
|
|
|
COMPILER_PATH: "C:\\msys64\\mingw64\\bin" |
|
|
|
WINDRES_ARCH: pe-x86-64 |
|
|
|
- compiler: clang |
|
|
|
bits: 32 |
|
|
|
ARCH: "i686" |
|
|
|
COMPILER_PATH: "C:\\msys64\\clang32\\bin" |
|
|
|
- compiler: clang |
|
|
|
bits: 64 |
|
|
|
ARCH: "x86_64" |
|
|
|
COMPILER_PATH: "C:\\msys64\\clang64\\bin" |
|
|
|
- compiler: msvc16 |
|
|
|
bits: 32 |
|
|
|
ARCH: "x86" |
|
|
@ -61,12 +53,6 @@ jobs: |
|
|
|
mkdir include |
|
|
|
mkdir lib |
|
|
|
cd ../../../raylib |
|
|
|
|
|
|
|
- name: Test Environment |
|
|
|
run: | |
|
|
|
dir C:\msys64\clang32 |
|
|
|
dir C:\msys64\clang32\bin |
|
|
|
shell: cmd |
|
|
|
|
|
|
|
# Setup MSBuild.exe path if required |
|
|
|
- name: Setup MSBuild |
|
|
@ -84,16 +70,6 @@ jobs: |
|
|
|
cd .. |
|
|
|
shell: cmd |
|
|
|
if: matrix.compiler == 'mingw-w64' |
|
|
|
|
|
|
|
- name: Build Library (Clang) |
|
|
|
run: | |
|
|
|
cd src |
|
|
|
${{ matrix.COMPILER_PATH }}\clang.exe -v |
|
|
|
make PLATFORM=PLATFORM_DESKTOP CC=${{ matrix.COMPILER_PATH }}/clang.exe RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" |
|
|
|
make PLATFORM=PLATFORM_DESKTOP CC=${{ matrix.COMPILER_PATH }}/clang.exe RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B |
|
|
|
cd .. |
|
|
|
shell: cmd |
|
|
|
if: matrix.compiler == 'clang' |
|
|
|
|
|
|
|
- name: Build Library (MSVC16) |
|
|
|
run: | |
|
|
|