Update windows.yml

This commit is contained in:
Ray 2020-08-17 23:26:28 +02:00 committed by GitHub
parent ab8ec9adad
commit 9ef1ef93e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,19 +14,16 @@ jobs:
include: include:
- compiler: mingw-w64 - compiler: mingw-w64
bits: 32 bits: 32
CFLAGS: -m32 ARCH: "x86"
- compiler: mingw-w64 - compiler: mingw-w64
bits: 64 bits: 64
CFLAGS: -m64 ARCH: "x64"
- compiler: msvc16 - compiler: msvc16
bits: 32 bits: 32
ARCH: "x86" ARCH: "x86"
- compiler: msvc16 - compiler: msvc16
bits: 64 bits: 64
ARCH: "x64" ARCH: "x64"
env:
CFLAGS: ${{ matrix.CFLAGS }}
steps: steps:
- name: Checkout - name: Checkout
@ -53,7 +50,7 @@ jobs:
- name: Build Library (MinGW-w64) - name: Build Library (MinGW-w64)
run: | run: |
cd src cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/raylib_3.1_win${{ matrix.bits }}/lib-mingw-w64" make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_BUILD_ARCH=${{ matrix.ARCH }} RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/raylib_3.1_win${{ matrix.bits }}/lib-mingw-w64"
make SHELL=cmd clean make SHELL=cmd clean
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/raylib_3.1_win${{ matrix.bits }}/lib-mingw-w64" -B make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/raylib_3.1_win${{ matrix.bits }}/lib-mingw-w64" -B
cd .. cd ..