diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2a924d8 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + + - package-ecosystem: "gitsubmodule" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..0051f06 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,49 @@ +name: Build + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1 + + - name: Configure build + shell: cmd + run: ./premake5.bat + + - name: Build + shell: cmd + run: msbuild -m build/III.VC.SA.IV.Project2DFX.sln /property:Configuration=Release /property:Platform=Win32 + + - name: Download Open Limit Adjuster + uses: robinraju/release-downloader@main + with: + repository: "GTAmodding/III.VC.SA.LimitAdjuster" + latest: true + extract: true + out-file-path: "data" + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + compression-level: 9 + name: III.VC.SA.IV.Project2DFX + path: | + data\* + !data\*.exe + !data\*.bat + !data\*.zip + !data\2DFXDataGrabber\ + !data\*\*.exp + !data\*\*.lib + !data\*\*.pdb diff --git a/external/IniReader b/external/IniReader index 85c2845..e917a99 160000 --- a/external/IniReader +++ b/external/IniReader @@ -1 +1 @@ -Subproject commit 85c2845b9dda0fa1f36612f8476d432dab1730d7 +Subproject commit e917a99e79bfe35896482ae7c69917933d11029a