diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ee7f28b41..40d585592 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,9 @@ jobs: env: CARGO_TERM_COLOR: always runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} strategy: + fail-fast: true matrix: build: - msrv @@ -25,12 +27,14 @@ jobs: rust: 1.74.0 args: "--features=magic-module" rust_flags: "-Awarnings" + experimental: false - build: stable os: ubuntu-latest rust: stable args: "--features=magic-module" rust_flags: "-Awarnings" + experimental: false - build: nightly os: ubuntu-latest @@ -40,18 +44,21 @@ jobs: # Disable rust-lld with -Zlinker-features=-lld # See: https://github.com/dtolnay/linkme/commit/d13709bfd2c1278b4c8b6c846e2017b623923c0c rust_flags: "-Awarnings -Zlinker-features=-lld" + experimental: true - build: macos os: macos-latest rust: stable args: "" rust_flags: "-Awarnings" + experimental: false - build: win-msvc os: windows-latest rust: stable args: "" rust_flags: "-Awarnings" + experimental: false # Tests for the `stable-x86_64-pc-windows-gnu` toolchain disabled # due to https://github.com/VirusTotal/yara-x/issues/29 @@ -60,12 +67,14 @@ jobs: # os: windows-latest # rust: stable-x86_64-gnu # args: "" + # experimental: false - build: no-default-features os: ubuntu-latest rust: stable args: "--package yara-x --no-default-features --features=test_proto2-module,test_proto3-module,string-module,time-module,hash-module,macho-module,magic-module,math-module,lnk-module,elf-module,pe-module,dotnet-module,console-module" rust_flags: "-Awarnings" + experimental: false steps: - name: Checkout sources