瀏覽代碼

Update ci_src_examples_win.yml

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

+ 27
- 2
.github/workflows/ci_src_examples_win.yml 查看文件

@ -5,15 +5,40 @@ on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
compiler: [mingw, msvc16]
bits: [32, 64]
include:
- compiler: mingw
bits: 32
CFLAGS: -m32
GENERATOR: "MinGW Makefiles"
- compiler: mingw
bits: 64
CFLAGS: -m64
GENERATOR: "MinGW Makefiles"
- compiler: msvc16
bits: 32
GENERATOR: "Visual Studio 16 2019"
- compiler: msvc16
bits: 64
GENERATOR: "Visual Studio 16 2019 Win64"
steps:
- uses: actions/checkout@master
- name: Checkout
uses: actions/checkout@master
- name: Setup Environment
run: |
mkdir build
cd build
- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1
- name: Setup CMake Project
run: cmake -G "Visual Studio 16 2019" -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=OFF -DINCLUDE_EVERYTHING=ON ../raylib
run: cmake -G $GENERATOR -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=OFF -DINCLUDE_EVERYTHING=ON ../raylib
- name: Build raylib Source & Examples
run: cmake --build . --target install

Loading…
取消
儲存