Skip to content

Commit 915c87b

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

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/cpp-linter.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,25 @@ jobs:
3838
- name: Install dependencies
3939
shell: bash
4040
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
41+
- name: Cache vcpkg packages
42+
uses: actions/cache@v4
43+
id: vcpkg-cache
44+
with:
45+
path: ${{ env.VCPKG_INSTALLATION_ROOT }}/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=${{ env.VCPKG_INSTALLATION_ROOT }}/scripts/buildsystems/vcpkg.cmake
4860
cmake --build .
4961
- uses: cpp-linter/cpp-linter-action@0f6d1b8d7e38b584cbee606eb23d850c217d54f8
5062
id: linter

0 commit comments

Comments
 (0)