Skip to content

chore: release 9.11.3 (security patch — GHSA-x3cx-p52g-p5q7, GHSA-c8v… #12071

chore: release 9.11.3 (security patch — GHSA-x3cx-p52g-p5q7, GHSA-c8v…

chore: release 9.11.3 (security patch — GHSA-x3cx-p52g-p5q7, GHSA-c8v… #12071

Workflow file for this run

name: Linux / C++ - VW Slim
on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
env:
# apt on the hosted images can block forever on an interactive
# needrestart/debconf prompt; -y does not suppress those.
DEBIAN_FRONTEND: noninteractive
NEEDRESTART_MODE: a
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
persist-credentials: false
submodules: false
- name: Init submodules with retry
shell: bash
run: |
for attempt in 1 2 3 4 5; do
if git submodule update --init --recursive; then
echo "Submodule init succeeded on attempt $attempt"
exit 0
fi
echo "Attempt $attempt failed, retrying in 15s..."
sleep 15
done
echo "Submodule init failed after 5 attempts"
exit 1
- name: Install dependencies
run: bash "$GITHUB_WORKSPACE/.github/scripts/apt-install.sh" ninja-build xxd
- name: Configure VW Slim
run: |
cmake -S . -B build -G Ninja \
-DBUILD_TESTING=On \
-DVW_FEAT_FLATBUFFERS=Off \
-DRAPIDJSON_SYS_DEP=Off \
-DFMT_SYS_DEP=Off \
-DSPDLOG_SYS_DEP=Off \
-DVW_ZLIB_SYS_DEP=Off \
-DVW_BOOST_MATH_SYS_DEP=Off
- name: Build VW and VW Slim
run: cmake --build build --target vw_cli_bin vw_slim vw_slim_test
- name: Test VW Slim
working-directory: build
run: ctest --output-on-failure --no-tests=error --tests-regex "VowpalWabbitSlim|ExploreSlim|CommandLineOptionsSlim" --parallel 2
- name: Generate test data with new VW executable
working-directory: vowpalwabbit/slim/test/data/
run: ./generate-data.sh ../../../../build/vowpalwabbit/cli/vw
- name: Build VW Slim again
run: cmake --build build --target vw_slim vw_slim_test
- name: Test VW Slim again
working-directory: build
run: ctest --output-on-failure --no-tests=error --tests-regex "VowpalWabbitSlim|ExploreSlim|CommandLineOptionsSlim" --parallel 2