Skip to content

Commit

Permalink
ci: mark nightly as experimental in matrix (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
latonis authored May 18, 2024
1 parent b2b8ec3 commit 75ad8b3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 75ad8b3

Please sign in to comment.