raylib/.github/workflows/windows_examples.yml

37 lines
688 B
YAML
Raw Normal View History

2021-03-08 21:17:42 +03:00
name: Windows Examples
on:
workflow_dispatch:
2021-03-08 21:17:42 +03:00
push:
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:
- 'src/**'
- 'examples/**'
- '.github/workflows/windows_examples.yml'
2021-03-08 21:17:42 +03:00
permissions:
contents: read
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