Update windows.yml

This commit is contained in:
Ray 2020-08-20 12:07:13 +02:00 committed by GitHub
parent 9d74f27abd
commit ec768bb83e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,10 +18,12 @@ jobs:
include:
- compiler: mingw-w64
bits: 32
ARCH: "x86"
ARCH: "x86"
COMPILER_PATH: "C:\\msys64\\mingw32\\bin"
- compiler: mingw-w64
bits: 64
ARCH: "x64"
COMPILER_PATH: "C:\\msys64\\mingw64\\bin"
- compiler: msvc16
bits: 32
ARCH: "x86"
@ -59,8 +61,8 @@ jobs:
run: |
cd src
gcc -v
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_BUILD_ARCH=${{ matrix.ARCH }} RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib"
# make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_BUILD_ARCH=${{ matrix.ARCH }} RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
make PLATFORM=PLATFORM_DESKTOP CC="${{ matrix.COMPILER_PATH }}\\gcc" RAYLIB_BUILD_ARCH=${{ matrix.ARCH }} RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib"
make PLATFORM=PLATFORM_DESKTOP CC="${{ matrix.COMPILER_PATH }}\\gcc" RAYLIB_BUILD_ARCH=${{ matrix.ARCH }} RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
shell: cmd
if: matrix.compiler == 'mingw-w64' && matrix.bits == 32