Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: mark nightly as experimental in matrix #111

Merged
merged 3 commits into from
May 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading