Introduced precompiled header #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Plugin GTA VC | |
| on: | |
| push: | |
| paths: | |
| - "!**.dll" | |
| - "!**.md" | |
| - "!**.txt" | |
| - "tools/premake/**" | |
| - "hooking/**" | |
| - "injector/**" | |
| - "modutils/**" | |
| - "safetyhook/**" | |
| - "shared/**" | |
| - "plugin_vc/**" | |
| jobs: | |
| build: | |
| name: Build Plugin GTA VC | |
| 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_vc |