Skip to content

Commit ac59fc5

Browse files
committed
test x86_64-pc-windows-gnullvm to see if it works
1 parent 55d99da commit ac59fc5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/checks.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
os: windows-2022
5353
features: ""
5454
target: "x86_64-pc-windows-msvc"
55+
- rust: stable-x86_64-gnu
56+
os: windows-2022
57+
features: ""
58+
target: "x86_64-pc-windows-gnullvm"
5559
steps:
5660
- name: Checkout sources
5761
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
@@ -82,14 +86,18 @@ jobs:
8286
tool: cargo-llvm-cov,cargo-nextest
8387
- name: cargo build
8488
run: cargo build --target ${{matrix.target}} ${{ matrix.features }}
89+
env:
90+
CARGO_TARGET_X86_64_PC_WINDOWS_GNULLVM_LINKER: rust-lld
8591
- name: cargo build (no_std)
8692
run: cargo rustc --target ${{matrix.target}} -p libbz2-rs-sys --lib --no-default-features --crate-type rlib
8793
env:
8894
RUSTFLAGS: -Aunused_variables -Aunused_assignments
95+
CARGO_TARGET_X86_64_PC_WINDOWS_GNULLVM_LINKER: rust-lld
8996
- name: cargo build (no_std + rust_allocator)
9097
run: cargo rustc --target ${{matrix.target}} -p libbz2-rs-sys --lib --no-default-features --features rust-allocator --crate-type rlib
9198
env:
9299
RUSTFLAGS: -Aunused_variables -Aunused_assignments
100+
CARGO_TARGET_X86_64_PC_WINDOWS_GNULLVM_LINKER: rust-lld
93101
- name: cargo llvm-cov nextest
94102
if: matrix.os != 'windows-2022'
95103
run: cargo llvm-cov nextest --target ${{matrix.target}} ${{ matrix.features }} --lcov --output-path lcov.info --ignore-filename-regex "test-libbz2" --workspace
@@ -100,6 +108,7 @@ jobs:
100108
run: cargo nextest run --target ${{matrix.target}} ${{ matrix.features }} --no-fail-fast
101109
env:
102110
RUST_BACKTRACE: 1
111+
CARGO_TARGET_X86_64_PC_WINDOWS_GNULLVM_LINKER: rust-lld
103112
- name: Upload coverage to Codecov
104113
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
105114
if: matrix.os != 'windows-2022' && matrix.rust == 'stable'

0 commit comments

Comments
 (0)