forked from DK22Pac/plugin-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 922 Bytes
/
Build_Plugin_GTA_4.yml
File metadata and controls
41 lines (35 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build Plugin GTA4
on:
push:
paths:
- "!**.dll"
- "!**.md"
- "!**.txt"
- "tools/premake/**"
- "hooking/**"
- "injector/**"
- "modutils/**"
- "safetyhook/**"
- "shared/**"
- "plugin_IV/**"
jobs:
build:
name: Build Plugin GTA4
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_iv