Skip to content

Commit

Permalink
Test: run address sanitizer with Boost 1.86.0 on windows in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier2k6 committed Aug 14, 2024
1 parent 2ab8fed commit 4358810
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- config: address-model=32 crypto=built-in
- config: address-model=64
- config: release
- config: address-sanitizer=on

steps:
- name: checkout
Expand All @@ -37,7 +38,7 @@ jobs:

- name: install boost
run: |
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.78.0 https://github.com/boostorg/boost.git
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.86.0 https://github.com/boostorg/boost.git
cd boost
bootstrap.bat
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
simulations:
name: Simulations
runs-on: windows-2019
runs-on: windows-latest

steps:
- name: checkout
Expand All @@ -84,7 +85,7 @@ jobs:

- name: install boost
run: |
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.78.0 https://github.com/boostorg/boost.git
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.86.0 https://github.com/boostorg/boost.git
cd boost
bootstrap.bat
Expand Down Expand Up @@ -122,13 +123,14 @@ jobs:
build:
name: Build
runs-on: windows-2019
runs-on: windows-latest
continue-on-error: true

strategy:
matrix:
include:
- config: asio-debugging=on picker-debugging=on windows-version=vista
- config: asio-debugging=on picker-debugging=on windows-version=win10
- config: windows-api=store windows-version=win10
- config: deprecated-functions=off

Expand All @@ -142,7 +144,7 @@ jobs:

- name: install boost
run: |
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.78.0 https://github.com/boostorg/boost.git
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.86.0 https://github.com/boostorg/boost.git
cd boost
bootstrap.bat
Expand Down Expand Up @@ -193,7 +195,7 @@ jobs:

- name: install boost
run: |
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.78.0 https://github.com/boostorg/boost.git
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.86.0 https://github.com/boostorg/boost.git
cd boost
bootstrap.bat
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
#- id: trailing-whitespace
#- id: end-of-file-fixer
Expand Down Expand Up @@ -72,7 +72,7 @@ repos:
tools/update_copyright.py
)$
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
rev: v2.3.1
hooks:
- id: autoflake
args: [--in-place, --remove-unused-variables, --remove-all-unused-imports, --remove-duplicate-keys]
Expand All @@ -86,7 +86,7 @@ repos:
tools/libtorrent_lldb.py
)
- repo: https://github.com/psf/black
rev: 24.2.0
rev: 24.8.0
hooks:
- id: black
# Avoiding PR bloat
Expand Down Expand Up @@ -132,7 +132,7 @@ repos:
name: black (pyi)
types: [pyi]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.11.1
hooks:
- id: mypy
# Avoiding PR bloat
Expand Down Expand Up @@ -171,7 +171,7 @@ repos:
tools/update_copyright.py
)$
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.1
hooks:
- id: flake8
exclude: |
Expand Down

0 comments on commit 4358810

Please sign in to comment.