raylib/.github/workflows/ci_src_examples_win.yml
2020-01-09 17:13:53 +01:00

20 lines
582 B
YAML

name: CI - Source & Examples - Windows
on: [push, pull_request, release]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Enable MSVC Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1.0.0
- name: Setup Environment
run: |
mkdir build
cd build
- name: Setup CMake Project
run: cmake -G "Visual Studio 14 2015" -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=OFF -DINCLUDE_EVERYTHING=ON ..
- name: Build raylib Source & Examples
run: cmake --build . --target install