Skip to content

Commit

Permalink
fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
byronxu99 committed Dec 6, 2023
1 parent de74ee4 commit 4623b9f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build_vw_slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -36,19 +42,19 @@ 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

- name: Test VW Slim
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
Expand All @@ -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

0 comments on commit 4623b9f

Please sign in to comment.