2020-01-09 18:06:17 +03:00
|
|
|
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
|
2020-01-09 18:53:00 +03:00
|
|
|
- run: mkdir build
|
|
|
|
- run: cd build
|
2020-01-09 18:50:01 +03:00
|
|
|
- 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
|