@@ -137,78 +137,3 @@ jobs:
137137 with :
138138 path : ${{ github.workspace }}/.sccache
139139 key : sccache-aws-${{ matrix.runs-on }}-bundle${{ matrix.bundle_awssdk }}-s3${{ matrix.s3 }}-sigv4${{ matrix.sigv4 }}-${{ github.run_id }}
140-
141- # Exercise the Meson build with SigV4 enabled (resolves aws-cpp-sdk-core via
142- # its CMake config, not pkg-config whose Cflags force -std=c++11).
143- meson-sigv4 :
144- if : ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
145- name : Meson SigV4 (AMD64 Ubuntu 26.04)
146- runs-on : ubuntu-26.04
147- timeout-minutes : 45
148- env :
149- SCCACHE_DIR : ${{ github.workspace }}/.sccache
150- SCCACHE_CACHE_SIZE : " 2G"
151- steps :
152- - uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
153- with :
154- python-version : ' 3.x'
155- - name : Checkout iceberg-cpp
156- uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
157- with :
158- persist-credentials : false
159- - name : Install build dependencies
160- shell : bash
161- run : |
162- sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev libjitterentropy3-dev
163- python3 -m pip install --upgrade pip
164- python3 -m pip install -r requirements.txt
165- - name : Cache vcpkg packages
166- uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
167- id : vcpkg-cache
168- with :
169- path : /usr/local/share/vcpkg/installed
170- key : vcpkg-x64-linux-aws-sdk-cpp-core-${{ hashFiles('.github/workflows/aws_test.yml') }}
171- - name : Install AWS SDK via vcpkg
172- if : ${{ steps.vcpkg-cache.outputs.cache-hit != 'true' }}
173- shell : bash
174- # Retry to ride out transient GitHub/mirror download failures (504s).
175- run : |
176- for attempt in 1 2 3; do
177- if vcpkg install aws-sdk-cpp[core]:x64-linux; then
178- exit 0
179- fi
180- echo "::warning::vcpkg install failed (attempt ${attempt}/3), retrying in 30s"
181- sleep 30
182- done
183- echo "::error::vcpkg install failed after 3 attempts"
184- exit 1
185- - name : Set Ubuntu Compilers
186- # Wrap the compiler with sccache: Meson uses an explicit CC/CXX verbatim,
187- # so the launcher must be prepended here to route compiles through sccache.
188- run : |
189- echo "CC=sccache gcc-14" >> $GITHUB_ENV
190- echo "CXX=sccache g++-14" >> $GITHUB_ENV
191- - name : Restore sccache cache
192- uses : actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
193- with :
194- path : ${{ github.workspace }}/.sccache
195- key : sccache-meson-sigv4-${{ github.run_id }}
196- restore-keys : |
197- sccache-meson-sigv4-
198- - name : Setup sccache
199- uses : mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10
200- - name : Build and test Iceberg
201- shell : bash
202- env :
203- CMAKE_PREFIX_PATH : /usr/local/share/vcpkg/installed/x64-linux
204- run : |
205- meson setup builddir -Dsigv4=enabled
206- meson compile -C builddir
207- sccache --show-stats
208- meson test -C builddir --timeout-multiplier 0 --print-errorlogs
209- - name : Save sccache cache
210- if : github.ref == 'refs/heads/main'
211- uses : actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
212- with :
213- path : ${{ github.workspace }}/.sccache
214- key : sccache-meson-sigv4-${{ github.run_id }}
0 commit comments