Skip to content

Commit 4326282

Browse files
fix(ci): enable SigV4 build in cpp-linter workflow
1 parent eaa433f commit 4326282

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,26 @@ jobs:
3737
uses: actions/checkout@v6
3838
- name: Install dependencies
3939
shell: bash
40-
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
40+
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev ninja-build
41+
- name: Cache vcpkg packages
42+
uses: actions/cache@v4
43+
id: vcpkg-cache
44+
with:
45+
path: /usr/local/share/vcpkg/installed
46+
key: vcpkg-x64-linux-aws-sdk-cpp-core-${{ hashFiles('.github/workflows/cpp-linter.yml') }}
47+
- name: Install AWS SDK via vcpkg
48+
if: steps.vcpkg-cache.outputs.cache-hit != 'true'
49+
shell: bash
50+
run: vcpkg install aws-sdk-cpp[core]:x64-linux
4151
- name: Run build
4252
env:
4353
CC: gcc-14
4454
CXX: g++-14
4555
run: |
4656
mkdir build && cd build
47-
cmake .. -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
57+
cmake .. -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
58+
-DICEBERG_BUILD_SIGV4=ON \
59+
-DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake
4860
cmake --build .
4961
- uses: cpp-linter/cpp-linter-action@0f6d1b8d7e38b584cbee606eb23d850c217d54f8
5062
id: linter

0 commit comments

Comments
 (0)