2021-03-08 21:17:42 +03:00
|
|
|
name: Windows Examples
|
|
|
|
|
|
|
|
on:
|
2021-10-24 18:33:21 +03:00
|
|
|
workflow_dispatch:
|
2021-03-08 21:17:42 +03:00
|
|
|
push:
|
2021-10-24 18:33:21 +03:00
|
|
|
paths:
|
|
|
|
- 'src/**'
|
|
|
|
- 'examples/**'
|
|
|
|
- '.github/workflows/windows_examples.yml'
|
2021-03-08 21:17:42 +03:00
|
|
|
pull_request:
|
2021-03-08 21:21:24 +03:00
|
|
|
branches: [ master ]
|
2021-03-08 21:17:42 +03:00
|
|
|
paths:
|
2021-10-24 18:33:21 +03:00
|
|
|
- 'src/**'
|
|
|
|
- 'examples/**'
|
|
|
|
- '.github/workflows/windows_examples.yml'
|
2021-03-08 21:17:42 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Add MSBuild to PATH
|
|
|
|
uses: microsoft/setup-msbuild@v1
|
|
|
|
|
|
|
|
- name: Build Library (MSVC16)
|
|
|
|
run: |
|
|
|
|
cd projects/VS2019
|
|
|
|
msbuild.exe raylib.sln /property:Configuration=Release /property:Platform=x86
|
|
|
|
cd ../..
|
|
|
|
shell: cmd
|
|
|
|
|