瀏覽代碼

Update windows.yml

pull/1357/head
Ray 4 年之前
committed by GitHub
父節點
當前提交
38d4768cdd
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. +7
    -4
      .github/workflows/windows.yml

+ 7
- 4
.github/workflows/windows.yml 查看文件

@ -34,13 +34,16 @@ jobs:
- name: Setup Environment
run: |
dir
mkdir build
cd build
mkdir raylib_3.1_win${{ matrix.bits }}
cd raylib_3.1_win${{ matrix.bits }}
mkdir include
mkdir lib-${{ matrix.compiler }}
dir
cd ../../../raylib
dir
# Setup MSBuild.exe path if required
- name: Setup MSBuild
@ -50,16 +53,16 @@ jobs:
- name: Build Library (MinGW-w64)
run: |
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_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../../build/raylib_3.1_win${{ matrix.bits }}/lib-mingw-w64"
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_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../../../build/raylib_3.1_win${{ matrix.bits }}/lib-mingw-w64"
cd ..
if: matrix.compiler == 'mingw-w64'
- name: Build Library (MSVC16)
run: |
cd projects/VS2017
msbuild.exe raylib.sln /target:raylib /p:OutputPath="..\..\..\build\raylib_3.1_win${{ matrix.bits }}/lib-msvc16 /property:Configuration=Release /property:Platform=${{ matrix.ARCH }}
msbuild.exe raylib.sln /target:raylib /p:OutputPath="..\..\..\build\raylib_3.1_win${{ matrix.bits }}/lib-msvc16 /property:Configuration=Release.DLL /property:Platform=${{ matrix.ARCH }}
msbuild.exe raylib.sln /target:raylib /p:OutputPath="..\..\..\..\build\raylib_3.1_win${{ matrix.bits }}/lib-msvc16 /property:Configuration=Release /property:Platform=${{ matrix.ARCH }}
msbuild.exe raylib.sln /target:raylib /p:OutputPath="..\..\..\..\build\raylib_3.1_win${{ matrix.bits }}/lib-msvc16 /property:Configuration=Release.DLL /property:Platform=${{ matrix.ARCH }}
cd ../..
if: matrix.compiler == 'msvc16'

Loading…
取消
儲存