Update windows.yml

This commit is contained in:
Ray 2020-08-20 12:16:03 +02:00 committed by GitHub
parent cb5e4f9b44
commit 600d7b524d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ jobs:
- compiler: mingw-w64 - compiler: mingw-w64
bits: 32 bits: 32
ARCH: "x86" ARCH: "x86"
COMPILER_PATH: "C:\\msys64\\mingw32\\bin" COMPILER_PATH: "C:/msys64/mingw32/bin"
- compiler: mingw-w64 - compiler: mingw-w64
bits: 64 bits: 64
ARCH: "x64" ARCH: "x64"
@ -60,9 +60,9 @@ jobs:
- name: Build Library (MinGW-w64) - name: Build Library (MinGW-w64)
run: | run: |
cd src cd src
${{ matrix.COMPILER_PATH }}\gcc -v ${{ matrix.COMPILER_PATH }}/gcc -v
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=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 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 .. cd ..
shell: cmd shell: cmd
if: matrix.compiler == 'mingw-w64' && matrix.bits == 32 if: matrix.compiler == 'mingw-w64' && matrix.bits == 32