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 for GTA San Andreas | ||
| on: | ||
| push: | ||
| paths: | ||
| - "!*.md" | ||
| - "!*.exe" | ||
| - "hooking\*" | ||
| - "injector\*" | ||
| - "modutils\*" | ||
| - "safetyhook\*" | ||
| - "shared\*" | ||
| - "plugin_sa\*" | ||
| jobs: | ||
| build: | ||
| 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 - GTA San Andreas | ||
| shell: cmd | ||
| run: | | ||
| set PLUGIN_SDK_DIR=%GITHUB_WORKSPACE% | ||
| msbuild -m plugin.sln /property:Configuration=zDebug /property:Platform="Mixed Platforms" /target:plugin_sa | ||