30 lines
656 B
YAML
30 lines
656 B
YAML
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
|