Skip to content

Commit

Permalink
ci: fix broken Github workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Feb 24, 2025
1 parent 67c0e2e commit b1994c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ jobs:
target: x86_64-unknown-linux-gnu
args: "--features=magic-module,rules-profiling"
rust_flags: "-Awarnings"
experimental: false

- build: stable
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
args: "--features=magic-module,rules-profiling"
rust_flags: "-Awarnings"
experimental: false

- build: nightly
os: ubuntu-latest
Expand All @@ -47,20 +49,23 @@ 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
target: aarch64-apple-darwin
args: "--features=rules-profiling"
rust_flags: "-Awarnings"
experimental: false

- build: win-msvc
os: windows-latest
rust: stable
target: x86_64-win7-windows-msvc
args: "--features=rules-profiling"
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 @@ -77,20 +82,23 @@ jobs:
target: x86_64-unknown-linux-gnu
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

- build: protoc
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
args: "--package yara-x --features=protoc,magic-module"
rust_flags: "-Awarnings"
experimental: false

- build: 32bits
os: ubuntu-latest
rust: stable
target: i686-unknown-linux-gnu
args: ""
rust_flags: "-Awarnings"
experimental: false

steps:
- name: Checkout sources
Expand Down

0 comments on commit b1994c6

Please sign in to comment.