From 3aaeac6ded534b91673cf9ab3ec52daca6d11ef1 Mon Sep 17 00:00:00 2001 From: Brett <15183337+Brett208@users.noreply.github.com> Date: Sat, 12 Sep 2026 12:22:46 -0400 Subject: [PATCH] Update to VS2026 (v145) Switch from using appveyor to using GitHub actions for CI/CD activities. --- .appveyor.yml | 11 ---------- .github/workflows/op2helper-ci.yml | 34 ++++++++++++++++++++++++++++++ OP2Helper.vcxproj | 7 ++++-- OP2Helper.vcxproj.filters | 3 +++ 4 files changed, 42 insertions(+), 13 deletions(-) delete mode 100644 .appveyor.yml create mode 100644 .github/workflows/op2helper-ci.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 7840501..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,11 +0,0 @@ -image: Visual Studio 2019 -configuration: - - Release - - Debug -install: - # Depends on Outpost2DLL, but has no formal submodule dependency set - # Manually download Outpost2DLL to a compatible relative location - - cd %APPVEYOR_BUILD_FOLDER%\.. - - git clone https://github.com/OutpostUniverse/Outpost2DLL -build: - project: OP2Helper.sln diff --git a/.github/workflows/op2helper-ci.yml b/.github/workflows/op2helper-ci.yml new file mode 100644 index 0000000..a1446c5 --- /dev/null +++ b/.github/workflows/op2helper-ci.yml @@ -0,0 +1,34 @@ +name: OP2Helper CI + +on: + push: + branches: [ main, master, '**' ] + pull_request: + branches: [ main, master ] + +jobs: + build: + runs-on: windows-latest + strategy: + matrix: + platform: [ Win32 ] + configuration: [ Debug, Release ] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Clone Outpost2DLL dependency + run: | + git clone --depth 1 https://github.com/OutpostUniverse/Outpost2DLL ../Outpost2DLL + + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v1 + + - name: Build OP2Helper + shell: cmd + run: | + msbuild OP2Helper.sln /m /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% + env: + CONFIGURATION: ${{ matrix.configuration }} + PLATFORM: ${{ matrix.platform }} diff --git a/OP2Helper.vcxproj b/OP2Helper.vcxproj index f3d5713..d318d09 100644 --- a/OP2Helper.vcxproj +++ b/OP2Helper.vcxproj @@ -20,14 +20,14 @@ StaticLibrary true Unicode - v142 + v145 StaticLibrary false true Unicode - v142 + v145 @@ -97,6 +97,9 @@ + + + diff --git a/OP2Helper.vcxproj.filters b/OP2Helper.vcxproj.filters index 65a96dc..0e1c952 100644 --- a/OP2Helper.vcxproj.filters +++ b/OP2Helper.vcxproj.filters @@ -57,4 +57,7 @@ Header Files + + + \ No newline at end of file