From 63d41e8f818ac295b9ee606c4535ce75e44bec13 Mon Sep 17 00:00:00 2001 From: neru Date: Fri, 20 Mar 2026 20:58:36 -0300 Subject: [PATCH] build: add CI test --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5c3d428 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build + +on: + push: + branches: [ "main", "master" ] + pull_request: + branches: [ "main", "master" ] + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Install OpenSSL + run: vcpkg install openssl:x64-windows + + - name: Configure CMake + run: cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -A x64 + + - name: Build Unlocker + run: cmake --build build --config Release --target dbd-unlocker + + - name: Build Dumper + run: dotnet build src/dumper/dbd-dumper.csproj -c Release