Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
001cbb4
refactor: cb_explore_adf_synthcover (#3024)
bassmang May 27, 2021
3089e1b
feat: add generic_range adapter class (#3025)
jackgerrits May 27, 2021
99c645b
feat: [py] Add contextual bandit label to DFtoVW (#2713)
etiennekintzler May 27, 2021
888e6f7
refactor: cb_explore_pdf (#3026)
bassmang May 27, 2021
3df4973
feat: add flag to limit log output (#3021)
lalo Jun 1, 2021
6335dd1
refactor: Avoid v_array copies (#3030)
bassmang Jun 3, 2021
b7625e8
feat: Create class to manage dual indexing of feature_groups (#3029)
jackgerrits Jun 3, 2021
110a3e4
feat: [py] DFtoVW -> Add weight attribute to SimpleLabel (#3033)
etiennekintzler Jun 3, 2021
860c525
feat: [metrics] cb_explore_adf additional metrics (#3032)
lalo Jun 3, 2021
04d218b
fix: [metrics] set to zero (#3035)
lalo Jun 3, 2021
eb81f1d
refactor: cb_adf learner (#3036)
bassmang Jun 4, 2021
3129edb
refactor: avoid v_array copy in cats_tree (#3037)
bassmang Jun 4, 2021
21030f5
refactor: Use default copy constructor for `features` (#3038)
jackgerrits Jun 4, 2021
8786469
test: ensure python3 is used for test scripts (#3041)
jackgerrits Jun 5, 2021
731b160
refactor: Refactor cb_sample.cc to use builder to set features of lea…
bassmang Jun 7, 2021
50c09eb
ci: Add codecov token to help codecov identify uploaded coverage repo…
jackgerrits Jun 7, 2021
9c6e21b
ci: Reduce CI burden (#3048)
jackgerrits Jun 7, 2021
97b4258
revert: Revert path include changes (#3049)
jackgerrits Jun 7, 2021
ad741ca
refactor: remove unnecessary delete_v_array call (#3050)
bassmang Jun 7, 2021
45f82df
fix: natvis definition had incorrect member variable name (#3044)
jackgerrits Jun 7, 2021
e7fef5e
chore: Make it clear that gitter and stack overflow are "conversation…
jackgerrits Jun 8, 2021
9f37708
feat: add several functions to namespaced_features (#3040)
jackgerrits Jun 8, 2021
c5dcbb6
fix: Fix of learning on data with pdrop (#3055)
ataymano Jun 9, 2021
aed83a5
feat: add cache helper for reading and writing types directly (#3057)
jackgerrits Jun 10, 2021
ebd65e4
refactor: Refactor cats_tree.cc to use builder to set features of lea…
bassmang Jun 10, 2021
976a668
refactor: Organize cache usage behind two functions for testing (#3058)
jackgerrits Jun 10, 2021
621878f
fix: avoid printing extra things when using --help (#3060)
lalo Jun 11, 2021
e39dfb6
fix: Fix model corruption on reading model (#3063)
jackgerrits Jun 11, 2021
6b45001
refactor: add label and use builder to set learner features in cb_dro…
bassmang Jun 11, 2021
a4f513c
test: add baseline test (#3070)
jackgerrits Jun 14, 2021
9de7a00
fix: Baseline should signal its enablement through an index and not a…
jackgerrits Jun 14, 2021
f53a8d9
fix: cmake build (#3071)
AdamStepan Jun 15, 2021
64d5f85
test: add cb simulation tutorial as test (#3072)
lalo Jun 15, 2021
39a1ff0
test: Add test for self interaction with multiple feature_groups (#3074)
jackgerrits Jun 15, 2021
93092fd
fix: do not change spdlog global settings (#3077)
AdamStepan Jun 17, 2021
aaabadd
build: Enable building Python library using VS2019 (#3078)
lokitoth Jun 17, 2021
ed13b81
fix: fix gdb pretty printer (#3079)
jackgerrits Jun 18, 2021
4aa7728
feat: add cb benchmark with more features (#3080)
rajan-chari Jun 18, 2021
258e89f
feat: [pyvw] Get weight from name (#3042)
etiennekintzler Jun 18, 2021
5c8fd55
chore: Add deprecation template (#3028)
kumpera Jun 18, 2021
c7ff603
refactor: Fix unnecessary usages of char* (#3085)
jackgerrits Jun 19, 2021
3babe22
feat: add chained_proxy_iterator to make it easier to iterate entire …
jackgerrits Jun 19, 2021
4ee7d96
chore: add requirements file to be used by binder (#3087)
jackgerrits Jun 22, 2021
3e7d62d
test: [py] fix random failure by lowering value (#3089)
lalo Jun 22, 2021
7f62d9f
chore: fix deprecation issue template (#3092)
jackgerrits Jun 23, 2021
becb082
feat: [Tutorial] Using DFtoVW and exploring VW output (#3068)
etiennekintzler Jun 24, 2021
28fc4ba
test: add tests for namespaces with same first letter (#3096)
bassmang Jun 24, 2021
9241c14
refactor: remove cast in slim tests (#3098)
bassmang Jun 24, 2021
57affdc
chore: add deprecation notice for #3084 feature_self_interactions (#3…
jackgerrits Jun 25, 2021
6e052af
feat: add learner builder for no-data learners (#3100)
olgavrou Jun 25, 2021
2644204
test: [py] fix seed for sim test (#3101)
lalo Jun 25, 2021
ad39f42
ci: Add Python type checking (#3105)
jackgerrits Jun 29, 2021
eddadc0
fix: [DFtoVW] Fix issue with nan/None in feature (#3109)
etiennekintzler Jun 29, 2021
e539f3c
fix: setup_example should not be called twice on the same example (#3…
jackgerrits Jul 1, 2021
16562d8
chore: Update deprecations to be explicit about 9.0 release (#3103)
jackgerrits Jul 1, 2021
19c2031
build: MSVC check must be done before project call (#3113)
jackgerrits Jul 1, 2021
49fb542
ci: Build docs as part of CI (#3090)
jackgerrits Jul 1, 2021
b06f767
test: add to cmakelists unit test for cb_dro (#3117)
lalo Jul 1, 2021
b7d41f9
fix: [cb_to_cb_adf] multiple costs in label (#3126)
lalo Jul 6, 2021
ec0acce
fix: Check label type for shared features, Resolves #3088 (#3120)
bassmang Jul 7, 2021
863eee1
fix: fix two compiler warnings (#3123)
jackgerrits Jul 7, 2021
e0733c4
fix: use nullptr ostream when quiet is on (#3119)
jackgerrits Jul 7, 2021
723743a
fix: cats getting stuck to predicting tree edges for some bandwidths …
olgavrou Jul 7, 2021
86c3746
refactor: deprecate ezexample (#3128)
jackgerrits Jul 7, 2021
b2b7c9a
fix: [Python] Fix default parameter `convert_labels` in `sklearn_vw.V…
etiennekintzler Jul 7, 2021
b8ed478
refactor: do not need to call delete_v anymore (#3130)
jackgerrits Jul 7, 2021
e1bef61
ci: lock to specific version of google test in benchmark CI (#3137)
jackgerrits Jul 7, 2021
9c2ef84
refactor: simplify search memory management (#3132)
jackgerrits Jul 7, 2021
f2bd8e5
refactor: remove all usages of v_init and deprecate (#3135)
jackgerrits Jul 8, 2021
7958d62
refactor: use destructor to manage memory (#3131)
jackgerrits Jul 8, 2021
9821ab9
refactor: deprecate some v_array functions (#3136)
jackgerrits Jul 8, 2021
237e0f7
refactor: Don't use a shared ptr for audit (#3134)
jackgerrits Jul 8, 2021
fb1a5a8
refactor: remove all usages of delete_v and deprecate (#3138)
jackgerrits Jul 8, 2021
a1b8852
test: update runtests.AUTOGEN.json (#3140)
lalo Jul 8, 2021
24a2434
refactor: return ScoredDual with bound (#3121)
lalo Jul 8, 2021
b5782bc
fix: Fix CB label caching (#3141)
lokitoth Jul 9, 2021
473f062
test: get type information of VW options (#3142)
lalo Jul 9, 2021
ecadd8d
fix: Multiline Example handling when in multi-pass mode (#3143)
lokitoth Jul 9, 2021
2d394ce
test: [chisq] add validation test with py impl test (#3147)
lalo Jul 13, 2021
f190695
fix: Use random state in sample_pdf, Resolves #3116 (#3150)
bassmang Jul 13, 2021
bcd569c
chore: remove unused file (#3152)
jackgerrits Jul 13, 2021
96ed831
refactor: rename file namespaced_features -> namespaced_feature_store…
jackgerrits Jul 14, 2021
7acd166
build: Create GitHub Action for valgrind (#3156)
jackgerrits Jul 14, 2021
8cf9ee5
refactor: add label and use builder to set learner features in sample…
bassmang Jul 14, 2021
b92b434
build!: drop support for Python2.7 and Python3.5 (#3104)
jackgerrits Jul 14, 2021
950b15f
docs: Overhaul python documentation (#3093)
jackgerrits Jul 14, 2021
24bde52
Update valgrind.yml (#3159)
jackgerrits Jul 15, 2021
4a981a3
ci: mitigate mongodb upgrade failure in MacOS CI (#3161)
jackgerrits Jul 15, 2021
7ac9347
ci: remove Azure devops valgrind pipeline (#3158)
jackgerrits Jul 15, 2021
9cad8a8
refactor: move to 2d list based grouping of namespaces (#3153)
jackgerrits Jul 15, 2021
6193c92
docs: Python doc styling (#3169)
cheng-tan Jul 16, 2021
1ed3703
docs: override docs version for push builds (#3172)
jackgerrits Jul 16, 2021
525cf46
docs: Add redirects so old links still work (#3168)
jackgerrits Jul 16, 2021
df06c55
docs: Move examples and tutorials into docs dir (#3160)
jackgerrits Jul 17, 2021
987494e
refactor!: Remove in_use field (#3167)
jackgerrits Jul 19, 2021
43aad96
docs: fix path (#3173)
jackgerrits Jul 19, 2021
6eb7036
fix: add --quiet to cats notebook tutorial (#3177)
olgavrou Jul 19, 2021
5d76650
refactor: remove enabled_reductions from vw/all struct (#3176)
lalo Jul 19, 2021
6bc8ec1
refactor: CCB warnings and lint fixes (#3162)
jackgerrits Jul 19, 2021
6da150f
refactor!: Remove ezexample (#3164)
jackgerrits Jul 20, 2021
f0e1af5
refactor!: Remove feature_self_interactions compile time value (#3165)
jackgerrits Jul 20, 2021
887ac82
refactor!: Remove deprecated things in v_array (#3166)
jackgerrits Jul 21, 2021
4e56281
feat: [Tutorial] DFtoVW tutorial v2 (#3181)
etiennekintzler Jul 22, 2021
e959123
ci: Fix Python Windows CI issue (#3184)
jackgerrits Jul 23, 2021
a9da12d
refactor: replace c-style with c++ casts (#3180)
jackgerrits Jul 23, 2021
aa45c12
docs: add docs for v_array + small fixes (#3182)
jackgerrits Jul 23, 2021
c199aa8
fix: lbl_parser should be set after calling setup base (#3187)
lalo Jul 26, 2021
050f949
ci: Fix Windows CI issue
lalo Jul 27, 2021
a3c3de7
refactor: move reduction stack building out of parse_args.cc (#3052)
lalo Jul 27, 2021
0772f80
refactor: rename setup_base to stack_builder (#3189)
lalo Jul 27, 2021
fac513a
refactor: Various linting and naming fixes in parse args and related …
jackgerrits Jul 28, 2021
6d7193a
feat: Add benchmarks to track full namespace performance (#3193)
bassmang Jul 29, 2021
e6eab87
fix: remove commented code (#3198)
lalo Jul 30, 2021
9c06015
feat: ability to customize learner builder in vw.h (#3190)
lalo Aug 2, 2021
cbb8bfa
refactor: Use same namespace push/pop code in JSON (#3202)
jackgerrits Aug 2, 2021
1cc8bb4
refactor: Add label and use builder to set learner features in ftrl.c…
bassmang Aug 3, 2021
9012df7
refactor: Do feature sort in a more generic way (#3204)
jackgerrits Aug 3, 2021
ad3b09f
fix: feature_limit gives the unique of the first N not the first N un…
jackgerrits Aug 4, 2021
d23a7da
fix: add back check for space names not empty (#3205)
jackgerrits Aug 4, 2021
3fcb304
fix: benchmarks need to call finish to avoid leaking (#3210)
jackgerrits Aug 6, 2021
5df54b5
fix: maintain sum_feat_sq in concat and truncate to (#3209)
jackgerrits Aug 6, 2021
7539c4d
refactor: Add label and use builder to set learner features in gd.cc …
bassmang Aug 12, 2021
07be8a5
refactor: Add label and use builder to set learner features in oaa.cc…
bassmang Aug 12, 2021
66f7da9
refactor: Add label and use builder to set learner features in csoaa.…
bassmang Aug 12, 2021
44d29ac
feat: VW fuzzer (#3212)
peterychang Aug 12, 2021
b6da0f8
refactor: Add label and use builder to set learner features in cats_p…
bassmang Aug 13, 2021
c7f2677
feat: Add ccb namespace benchmarks, generalize example generation (#3…
bassmang Aug 13, 2021
1a19206
fix: [docs] Update link to Python notebook examples (#3226)
mathcass Aug 15, 2021
3cd9039
refactor: change unit tests to use builders (#3225)
jackgerrits Aug 16, 2021
8ee0545
refactor: Make interactions use iterators (#3218)
jackgerrits Aug 16, 2021
1398788
refactor: change topk to use new reduction learner builder (#3222)
jackgerrits Aug 16, 2021
67712c2
refactor: change noop to use new base learner builder (#3223)
jackgerrits Aug 17, 2021
d1b17eb
refactor: search's destructor now cleans up all of its memory (#3214)
jackgerrits Aug 17, 2021
59bf949
fix: fix fallthrough warning on GCC C++11/C++14 (#3227)
jackgerrits Aug 17, 2021
20563d8
fix: fix gcc warnings (#3229)
jackgerrits Aug 17, 2021
27da9d1
refactor: prepare interactions for ranges (#3228)
jackgerrits Aug 18, 2021
449eed2
refactor: create text utils and refactor interaction parsing (#3230)
jackgerrits Aug 18, 2021
26ff40b
fix: fix comparator for interactions sorting (#3236)
jackgerrits Aug 18, 2021
782273b
fix: Catch segfaults dense parameters (#3233)
bassmang Aug 19, 2021
6dffa86
doc: fix header levels in dftovw tutorial (#3242)
jackgerrits Aug 20, 2021
fb0d0f0
refactor: migrate autolink to builder (#3246)
jackgerrits Aug 23, 2021
6597b4c
fix: missing min compare in ChiSquared impl (#3251)
lalo Aug 23, 2021
884a565
fix: clean up cb_dro dependencies (#3253)
lalo Aug 23, 2021
a22fcbf
fix: fix two clang-12 warnings (#3256)
jackgerrits Aug 23, 2021
41a37a1
fix: fix memcpy warning in cc (#3254)
jackgerrits Aug 23, 2021
5b8b90b
test: [py] add save load test & refactor (#3257)
lalo Aug 23, 2021
81f2b19
fix: use reference for pred local variable in cb_dro (#3259)
jackgerrits Aug 24, 2021
16e5322
feat: Adding metric for sum of original_label_cost (#3248)
peterychang Aug 24, 2021
03bacbc
fix: move lda above scorer to avoid incorrect application of scorer (…
jackgerrits Aug 25, 2021
89410de
refactor: migrate shared_feature_merger to builder (#3262)
jackgerrits Aug 25, 2021
f6a6517
refactor: Add label and use builder to set learner features in bs, ca…
bassmang Aug 26, 2021
a6ccf8b
refactor: migrate scorer to builder (#3261)
jackgerrits Aug 26, 2021
c99b67e
refactor: migrate baseline to builder (#3247)
jackgerrits Aug 26, 2021
8575f32
refactor: migrate audit_regressor to builder and fix issues (#3244)
jackgerrits Aug 26, 2021
311fa10
fix: incorrect change of push_at in search (#3240)
jackgerrits Aug 30, 2021
d37169a
refactor: Encapsulate resetting and current file in io_buf (#3265)
jackgerrits Aug 30, 2021
642b7d1
refactor: migrate sender to builder (#3260)
jackgerrits Aug 30, 2021
802a184
refactor: use new builder for marginal and other fixes (#3250)
jackgerrits Aug 30, 2021
522e2d2
refactor: Add label and use builder to set learner features in cb_exp…
bassmang Aug 30, 2021
9766bc2
feat: add save/load to ChiSquared (#3267)
lalo Aug 30, 2021
17d0f49
refactor: Use reference in marginal constructor for non-nullable vari…
jackgerrits Aug 31, 2021
82cd5f6
fix: fix warning is search from unsafely using realloc (#3255)
jackgerrits Aug 31, 2021
60e0201
Benchmark for Privacy_Activation
manavsinghal157 Aug 31, 2021
3927859
refactor: migrate active to builder and fix warnings (#3243)
jackgerrits Aug 31, 2021
de58630
Fetching upstream
manavsinghal157 Sep 1, 2021
0496c38
Undoing Benchmarks
manavsinghal157 Sep 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: true
contact_links:
- about: "Ask questions or see past answers on Stack Overflow"
name: "Stack Overflow"
name: "💬 Stack Overflow"
url: "https://stackoverflow.com/questions/tagged/vowpalwabbit"
- about: "Chat with the community on Gitter"
name: "Gitter"
name: "💬 Gitter"
url: "https://gitter.im/VowpalWabbit/community/"
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/deprecation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Propose Deprecation
about: Propose a feature to be deprecated and removed
title: ''
labels: 'Deprecation'
assignees: ''

---

#### Feature to be deprecated

<!--
Describe the feature to be deprecated, focus on the user visible aspects of it.

For example:
- Are we removing a command line option?
- Are we changing the semantics of an input format field?
- Are we removing a C++ API method?
-->

#### Value proposition

<!--
What is the value we'll derive from removing it? A deprecation must be necessary or helpful based on these principles.

- Command line usability
- API line usability
- Maintenance burden
- Incompatible with new feature
- Better alternative readily available
- Other, please describe
-->

#### User impact and mitigation

<!--
What's the impact of deprecating and removing this feature to current users?
How would they detect deprecation/removal?
How can they mitigate this feature being missing? How much effort would that be?
-->

#### Schedule
- Deprecated in release:
- Removed in release:

#### Additional context
<!-- Add any other context about the problem here. -->
63 changes: 48 additions & 15 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- '*'
release:
types:
- created
Expand All @@ -32,41 +36,70 @@ jobs:
with:
name: cxx_docs
path: doc/html/
python:
python-build:
container:
image: vowpalwabbit/ubuntu1604-build:latest
image: vowpalwabbit/manylinux2010-build:latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Install Python package
- run: echo "/opt/python/cp39-cp39/bin" >> $GITHUB_PATH
- name: Build wheel
shell: bash
run: |
/usr/local/miniconda/bin/activate test-python36
python setup.py install --user
/usr/local/miniconda/bin/deactivate
- name: Build docs
pip wheel . -w wheel_output/ --global-option --cmake-options="-DSTATIC_LINK_VW_JAVA=On;-DPython_INCLUDE_DIR='/opt/python/cp39-cp39/include/python3.9/'" --verbose
auditwheel repair wheel_output/*whl -w audit_output/
- name: Upload built wheel
uses: actions/upload-artifact@v1
with:
name: python_wheel
path: audit_output/
python-doc:
needs: python-build
container:
image: python:3.9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: If this is a push build then set version to latest
if: ${{ github.event_name == 'push' }}
run: echo "VW_SPHINX_VERSION_OVERRIDE=latest" >> $GITHUB_ENV
- name: Download Wheel
uses: actions/download-artifact@v1
with:
name: python_wheel
- name: Install dependencies
shell: bash
run: |
/usr/local/miniconda/bin/activate test-python36
pip install sphinx numpydoc
pip install -r python/docs/build-requirements.txt
pip install -r requirements.txt
- name: Install wheel
shell: bash
run: |
export wheel_files=(python_wheel/*)
export wheel_file="${wheel_files[0]}"
echo Installing ${wheel_file}...
pip install ${wheel_file}
- name: Build docs
run: |
cd python/docs
make html
/usr/local/miniconda/bin/deactivate
- name: Upload built docs
uses: actions/upload-artifact@v1
with:
name: python_docs
path: python/docs/build/
upload:
needs: [cpp, python]
needs: [cpp, python-doc]
runs-on: ubuntu-latest
# The upload step should only be run on the main repository.
if: github.repository == 'VowpalWabbit/vowpal_wabbit'
# The upload step should only be run on the main repository and only for pushes or releases (not pull requests).
if: ${{ github.repository == 'VowpalWabbit/vowpal_wabbit' && (github.event_name == 'push' || github.event_name == 'release') }}
steps:
- name: Set folder name to latest if push
if: github.event_name == 'push'
if: ${{ github.event_name == 'push' }}
run: echo "FOLDER_NAME=latest" >> $GITHUB_ENV
- name: Set folder name to version if release
if: github.event_name == 'release'
if: ${{ github.event_name == 'release' }}
run: echo "FOLDER_NAME=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
- name: Download c++ Docs
uses: actions/download-artifact@v1
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/build_python_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ on:
- 'releases/**'
pull_request:
branches:
- master

- '*'

jobs:
build:
Expand All @@ -19,7 +18,6 @@ jobs:
strategy:
matrix:
config:
- { version: 3.5, base_path: /opt/python/cp35-cp35m/, include_dir_name: python3.5m/, experimental: false }
- { version: 3.6, base_path: /opt/python/cp36-cp36m/, include_dir_name: python3.6m/, experimental: false }
- { version: 3.7, base_path: /opt/python/cp37-cp37m/, include_dir_name: python3.7m/, experimental: false }
- { version: 3.8, base_path: /opt/python/cp38-cp38/, include_dir_name: python3.8/, experimental: false }
Expand All @@ -46,7 +44,6 @@ jobs:
strategy:
matrix:
config:
- { version: 3.5, experimental: false }
- { version: 3.6, experimental: false }
- { version: 3.7, experimental: false }
- { version: 3.8, experimental: false }
Expand All @@ -57,14 +54,23 @@ jobs:
uses: actions/download-artifact@v1
with:
name: wheel_${{ matrix.config.version }}
- name: Test wheel
- name: Install dependencies
shell: bash
run: |
pip install -r requirements.txt
pip install pytest
- name: Install wheel
shell: bash
run: |
export wheel_files=(wheel_${{ matrix.config.version }}/*)
export wheel_file="${wheel_files[0]}"
echo Installing ${wheel_file}...
pip install -r requirements.txt
pip install pytest
pip install ${wheel_file}
- name: Run unit tests
shell: bash
run: |
python -m pytest ./python/tests/
- name: Run doctest
shell: bash
run: |
python ./python/tests/run_doctest.py
2 changes: 1 addition & 1 deletion .github/workflows/build_python_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'releases/**'
pull_request:
branches:
- master
- '*'

jobs:
build:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build_python_wheels_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'releases/**'
pull_request:
branches:
- master
- '*'

jobs:
build:
Expand Down Expand Up @@ -35,6 +35,11 @@ jobs:
with:
path: ${{github.workspace}}\\vcpkg
key: ${{ runner.os }}-${{ matrix.config.version }}-${{ matrix.config.vcpkg_commit }}-2
# Downgrade CMake to mitigate crashing issue introduced in 3.21 that only affects vcpkg. See here: https://github.com/microsoft/vcpkg/issues/18718
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.20.x'
- name: Bootstrap and install vcpkg packages
shell: powershell
if: steps.vcpkg-cache.outputs.cache-hit != 'true'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build_vw_slim.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Linux / C++ - VW Slim

on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- master
- '*'

jobs:
check:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build_windows_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'releases/**'
pull_request:
branches:
- master
- '*'

jobs:
check:
Expand Down Expand Up @@ -43,6 +43,11 @@ jobs:
!${{ env.VCPKG_ROOT }}/downloads
key: |
${{ env.VCPKG_REF }}-vcpkg-cache-invalidate-0
# Downgrade CMake to mitigate crashing issue introduced in 3.21 that only affects vcpkg. See here: https://github.com/microsoft/vcpkg/issues/18718
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.20.x'
- uses: ilammy/msvc-dev-cmd@v1
- name: Bootstrap vcpkg
run: ${{ env.VCPKG_ROOT }}/bootstrap-vcpkg.bat
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Formatting

on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- master
- '*'

jobs:
check:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/python_typecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Python typecheck

on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- '*'

jobs:
build:
container:
image: vowpalwabbit/manylinux2010-build:latest
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.config.experimental }}
strategy:
matrix:
config:
- { version: 3.8, base_path: /opt/python/cp38-cp38/, include_dir_name: python3.8/, experimental: false }
steps:
# v1 must be used because newer versions require a node.js version that will not run on this old image.
- uses: actions/checkout@v1
- name: add to path
shell: bash
run: |
echo "${{ matrix.config.base_path }}bin" >> $GITHUB_PATH
- name: Build + check
shell: bash
run: |
${{ matrix.config.base_path }}bin/python setup.py --cmake-options="-DSTATIC_LINK_VW_JAVA=On;-DPython_INCLUDE_DIR='${{ matrix.config.base_path }}include/${{ matrix.config.include_dir_name }}'" install
${{ matrix.config.base_path }}bin/pip install -r requirements.txt
${{ matrix.config.base_path }}bin/pip install pytype
${{ matrix.config.base_path }}bin/python -m pytype ./python/vowpalwabbit/ --verbosity=2
1 change: 1 addition & 0 deletions .github/workflows/run_benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Run Benchmarks

on:
pull_request:
branches:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload_coverage.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Coverage

on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- master

- '*'
jobs:
upload:
container:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linux / Valgrind

on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- '*'

jobs:
check_valgrind:
container:
image: vowpalwabbit/ubuntu1604-build:latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Valgrind
run: |
sudo apt update -y
sudo apt install -y valgrind
- name: Build C++ VW binary
run: ./.scripts/linux/build-minimal.sh Release
- name: Run unit tests with Valgrind
run: ./.scripts/linux/unit-tests-valgrind.sh
- name: Run test suite with Valgrind
run: ./.scripts/linux/test-valgrind.sh
8 changes: 6 additions & 2 deletions .pipelines/build-linux-java.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
pr:
trigger:
- master
- 'releases/**'

pr:
- '*'

pool:
vmImage: 'ubuntu-16.04'
Expand All @@ -20,7 +24,7 @@ steps:
ossrh_username: $(ossrh_username)
ossrh_password: $(ossrh_password)
- task: PublishBuildArtifacts@1
inputs:
inputs:
pathtoPublish: build/java/libvw_jni.so
artifactName: 'vw-static-linux-64'
displayName: 'java artifact linux 64'
Loading