|
|
@ -33,12 +33,10 @@ jobs: |
|
|
|
- compiler: mingw-w64 |
|
|
|
bits: 32 |
|
|
|
ARCH: "i686" |
|
|
|
COMPILER_PATH: "C:\\msys64\\mingw32\\bin" |
|
|
|
WINDRES_ARCH: pe-i386 |
|
|
|
- compiler: mingw-w64 |
|
|
|
bits: 64 |
|
|
|
ARCH: "x86_64" |
|
|
|
COMPILER_PATH: "C:\\msys64\\mingw64\\bin" |
|
|
|
WINDRES_ARCH: pe-x86-64 |
|
|
|
- compiler: msvc16 |
|
|
|
bits: 32 |
|
|
@ -83,12 +81,11 @@ jobs: |
|
|
|
- name: Build Library (MinGW-w64) |
|
|
|
run: | |
|
|
|
cd src |
|
|
|
set PATH=%PATH%;${{ matrix.COMPILER_PATH }} |
|
|
|
${{ matrix.ARCH }}-w64-mingw32-gcc.exe --version |
|
|
|
${{ matrix.COMPILER_PATH }}\windres.exe --version |
|
|
|
windres.exe --version |
|
|
|
dir C:\msys64\mingw64\bin |
|
|
|
make PLATFORM=PLATFORM_DESKTOP CC=${{ matrix.ARCH }}-w64-mingw32-gcc.exe RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" |
|
|
|
${{ matrix.COMPILER_PATH }}\windres.exe -i raylib.dll.rc -o raylib.dll.rc.data -O coff --target=${{ matrix.WINDRES_ARCH }} |
|
|
|
windres.exe -i raylib.dll.rc -o raylib.dll.rc.data -O coff --target=${{ matrix.WINDRES_ARCH }} |
|
|
|
make PLATFORM=PLATFORM_DESKTOP CC=${{ matrix.ARCH }}-w64-mingw32-gcc.exe RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B |
|
|
|
cd .. |
|
|
|
shell: cmd |
|
|
|