raylib/.github/workflows/ci_src_examples_win.yml

20 lines
569 B
YAML
Raw Normal View History

2020-01-09 18:06:17 +03:00
name: CI - Source & Examples - Windows
2020-01-09 19:27:03 +03:00
on: [push, pull_request]
2020-01-09 18:06:17 +03:00
jobs:
build:
runs-on: windows-latest
steps:
2020-01-09 19:27:52 +03:00
- uses: actions/checkout@master
2020-01-09 18:55:12 +03:00
- name: Setup Environment
2020-01-09 19:06:34 +03:00
run: |
mkdir build
2020-01-09 19:27:03 +03:00
cd build
2020-01-10 12:56:53 +03:00
- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1
2020-01-09 18:50:01 +03:00
- name: Setup CMake Project
2020-01-09 19:33:53 +03:00
run: cmake -G "Visual Studio 14 2015" -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=OFF -DINCLUDE_EVERYTHING=ON ../raylib
2020-01-09 18:50:01 +03:00
- name: Build raylib Source & Examples
run: cmake --build . --target install