Skip to content

Introduced precompiled header #13

Introduced precompiled header

Introduced precompiled header #13

name: Build Plugin GTA SA
on:
workflow_dispatch:
push:
paths:
- "!**.dll"
- "!**.md"
- "!**.txt"
- "tools/premake/**"
- "hooking/**"
- "injector/**"
- "modutils/**"
- "safetyhook/**"
- "shared/**"
- "plugin_sa/**"
pull_request:
types:
- opened
paths:
- "!**.dll"
- "!**.md"
- "!**.txt"
- "tools/premake/**"
- "hooking/**"
- "injector/**"
- "modutils/**"
- "safetyhook/**"
- "shared/**"
- "plugin_sa/**"
jobs:
build:
name: Build Plugin GTA SA
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Setup msbuild
uses: microsoft/setup-msbuild@v2 # add msbuild to PATH
- name: Premake Visual Studio project
shell: cmd
run: |
set PLUGIN_SDK_DIR=%GITHUB_WORKSPACE%
"tools\generate\Visual Studio.bat"
- name: Build
shell: cmd
run: |
set PLUGIN_SDK_DIR=%GITHUB_WORKSPACE%
msbuild -m plugin.sln /property:Configuration=zDebug /property:Platform="Mixed Platforms" /target:plugin_sa