chore: bump version to 9.11.2 #11988
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| 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: sudo apt-get update && sudo apt-get install -y 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 |