From b526eb3da0c6f29c74cf0c3d288cc0d3d251fbdb Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 20 Mar 2025 16:44:21 +1100 Subject: [PATCH] [idd] ci: added woodpecker CI configuration for the IDD As the IDD requires being built in MSVC2022 with the WDK and then signed to create a usable driver, this must be done on the LG build server instead of github directly. This workflow will trigger this on each commit --- .woodpecker/idd.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .woodpecker/idd.yaml diff --git a/.woodpecker/idd.yaml b/.woodpecker/idd.yaml new file mode 100644 index 00000000..44192d87 --- /dev/null +++ b/.woodpecker/idd.yaml @@ -0,0 +1,30 @@ +--- +labels: + platform: windows/amd64 + +matrix: + BUILD_TYPE: + - Debug + - Release + +clone: + - name: clone + image: woodpeckerci/plugin-git + pull: false + +steps: + - name: idd + when: + - branch: master + event: [push, manual] + image: lg-vs2022:latest + pull: true + environment: + VS_PATH: "\"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2022\\\\\"" + entrypoint: + - cmd + - /C + - > + %VS_PATH%\BuildTools\Common7\Tools\VsDevCmd.bat -arch=amd64 && + msbuild idd\LGIdd.sln /p:Configuration=${BUILD_TYPE} /p:Platform=x64 /p:SignMode=Off /m && + IF EXIST C:\artifacts\build.cmd (cmd /C C:\artifacts\build.cmd)