From 1a9ca888bafa6143ab0303e80f1cbecc628f48ca 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 | 4 ++-- dev/cmp/Cargo.toml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lewton.yml b/.github/workflows/lewton.yml index e7daed4..dc977c9 100644 --- a/.github/workflows/lewton.yml +++ b/.github/workflows/lewton.yml @@ -33,5 +33,5 @@ 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 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"