Skip to content

Commit

Permalink
Pin Valgrind task to 1.61.0 to avoid the DWARF5 issues until fixed up…
Browse files Browse the repository at this point in the history
…stream.
  • Loading branch information
adamreichold committed Oct 28, 2022
1 parent 923b472 commit b29c4e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -332,14 +332,14 @@ jobs:
continue-on-error: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
# FIXME(adamreichold): Switch to stable when Valgrind understands DWARF5 as generated by LLVM 14,
# c.f. https://bugs.kde.org/show_bug.cgi?id=452758#c35
toolchain: 1.61.0
override: true
profile: minimal
- uses: taiki-e/install-action@valgrind
- run: python -m pip install -U pip nox
# FIXME(adamreichold): Drop skip-macros when Valgrind understands DWARF5 as generated by LLVM 14,
# c.f. https://bugs.kde.org/show_bug.cgi?id=452758#c35
- run: nox -s test-rust -- release skip-full skip-macros
- run: nox -s test-rust -- release skip-full
env:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: valgrind --leak-check=no --error-exitcode=1
RUST_BACKTRACE: 1
Expand Down
5 changes: 2 additions & 3 deletions noxfile.py
Expand Up @@ -21,9 +21,8 @@ def test(session: nox.Session) -> None:
@nox.session(name="test-rust", venv_backend="none")
def test_rust(session: nox.Session):
_run_cargo_test(session, package="pyo3-build-config")
if not "skip-macros" in session.posargs:
_run_cargo_test(session, package="pyo3-macros-backend")
_run_cargo_test(session, package="pyo3-macros")
_run_cargo_test(session, package="pyo3-macros-backend")
_run_cargo_test(session, package="pyo3-macros")
_run_cargo_test(session, package="pyo3-ffi")

_run_cargo_test(session)
Expand Down

0 comments on commit b29c4e0

Please sign in to comment.