From 4623b9f3514f516e92f6c81ece279ae79e1d8c72 Mon Sep 17 00:00:00 2001 From: Byron Xu Date: Wed, 6 Dec 2023 14:07:45 -0500 Subject: [PATCH] fix CI errors --- .github/workflows/build_vw_slim.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_vw_slim.yml b/.github/workflows/build_vw_slim.yml index 98de126a647..9acaf124411 100644 --- a/.github/workflows/build_vw_slim.yml +++ b/.github/workflows/build_vw_slim.yml @@ -23,6 +23,12 @@ jobs: with: submodules: recursive + - name: Install dependencies + shell: bash + run: | + sudo apt update + sudo apt install -y xxd + - name: Configure VW Slim shell: bash run: | @@ -36,7 +42,7 @@ jobs: -DVW_ZLIB_SYS_DEP=Off \ -DVW_BOOST_MATH_SYS_DEP=Off - - name: Build VW Slim + - name: Build VW and VW Slim shell: bash run: cmake --build build --target vw_cli_bin vw_slim vw_slim_test @@ -44,11 +50,11 @@ jobs: shell: bash 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 shell: bash working-directory: vowpalwabbit/slim/test/data/ - run: ./generate-data.sh ${{github.workspace}}/build/vowpalwabbit/cli/vw + run: ./generate-data.sh ../../../../build/vowpalwabbit/cli/vw - name: Build VW Slim again shell: bash @@ -58,4 +64,3 @@ jobs: shell: bash working-directory: build run: ctest --output-on-failure --no-tests=error --tests-regex "VowpalWabbitSlim|ExploreSlim|CommandLineOptionsSlim" --parallel 2 - \ No newline at end of file