-
Notifications
You must be signed in to change notification settings - Fork 1.5k
45 lines (38 loc) · 1.28 KB
/
windows-boost-test.yml
File metadata and controls
45 lines (38 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Windows Boost CONFIG Test
on:
pull_request:
branches:
- main
push:
branches:
- main
- 'boost-*'
permissions:
contents: read
jobs:
test-windows-boost:
name: Test Boost CONFIG Mode on Windows
runs-on: windows-2025
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Boost via vcpkg
shell: cmd
run: |
vcpkg install boost-filesystem:x64-windows ^
boost-iostreams:x64-windows ^
boost-serialization:x64-windows ^
boost-system:x64-windows ^
boost-program-options:x64-windows ^
boost-url:x64-windows ^
boost-context:x64-windows ^
lz4:x64-windows
- name: Configure and Build FoundationDB
shell: cmd
run: |
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=%VCPKG_INSTALLATION_ROOT%\scripts\buildsystems\vcpkg.cmake ^
-DCMAKE_BUILD_TYPE=Release -DWITH_SWIFT=OFF -DBUILD_TESTING=OFF -DBUILD_DOCUMENTATION=OFF -DWITH_CSHARP=OFF
- name: Report Success
run: echo "✓ Boost CONFIG mode working on Windows!"