From f655fa268ab2b8dcdc87f5529ed3fb8c2865c43b Mon Sep 17 00:00:00 2001 From: est31 Date: Sun, 23 Jan 2022 04:39:46 +0100 Subject: [PATCH] Use PR branch as workaround in the CI for now --- .github/workflows/lewton.yml | 5 +++-- dev/cmp/Cargo.toml | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lewton.yml b/.github/workflows/lewton.yml index e7daed4..513dce7 100644 --- a/.github/workflows/lewton.yml +++ b/.github/workflows/lewton.yml @@ -33,5 +33,6 @@ jobs: - name: Run cmp tests if: matrix.toolchain == '1.56.1' run: | - cd dev/cmp - cargo test --verbose --release + sed -i.bak "/^vorb.*/d;s/#v/v/" dev/cmp/Cargo.toml + cargo update -p vorbis-sys:0.0.8 + cargo test --verbose --release -p cmp diff --git a/dev/cmp/Cargo.toml b/dev/cmp/Cargo.toml index 44f0867..0f044aa 100644 --- a/dev/cmp/Cargo.toml +++ b/dev/cmp/Cargo.toml @@ -9,4 +9,7 @@ edition = "2015" [dependencies] lewton = { path = "../../" } vorbis = "0.1" +# Workaround for test failure. +# Apply branch of this PR: https://github.com/tomaka/vorbis-rs/pull/20 +#vorbis = { git = 'https://github.com/roderickvd/vorbis-rs', branch = 'fix-ub-panic' } test-assets = "0.2"