Skip to content

Commit 75db93a

Browse files
committed
fixup! Gate set_test_offer and add HRN test config
1 parent b8cacb3 commit 75db93a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/rust.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,18 @@ jobs:
7777
run: cargo build --verbose --color always
7878
- name: Build with UniFFI support on Rust ${{ matrix.toolchain }}
7979
if: matrix.build-uniffi
80-
run: RUSTFLAGS="--cfg hrn_tests" cargo build --features uniffi --verbose --color always
80+
env:
81+
RUSTFLAGS: "--cfg hrn_tests"
82+
run: cargo build --features uniffi --verbose --color always
8183
- name: Check release build on Rust ${{ matrix.toolchain }}
82-
run: RUSTFLAGS="--cfg hrn_tests" cargo check --release --verbose --color always
84+
env:
85+
RUSTFLAGS: "--cfg hrn_tests"
86+
run: cargo check --release --verbose --color always
8387
- name: Check release build with UniFFI support on Rust ${{ matrix.toolchain }}
8488
if: matrix.build-uniffi
85-
run: RUSTFLAGS="--cfg hrn_tests" cargo check --release --features uniffi --verbose --color always
89+
env:
90+
RUSTFLAGS: "--cfg hrn_tests"
91+
run: cargo check --release --features uniffi --verbose --color always
8692
- name: Test on Rust ${{ matrix.toolchain }}
8793
if: "matrix.platform != 'windows-latest'"
8894
run: |
@@ -111,7 +117,7 @@ jobs:
111117
name: Documentation
112118
runs-on: ubuntu-latest
113119
env:
114-
RUSTDOCFLAGS: -Dwarnings
120+
RUSTDOCFLAGS: "-Dwarnings --cfg hrn_tests"
115121
steps:
116122
- uses: actions/checkout@v6
117123
- uses: dtolnay/rust-toolchain@nightly

0 commit comments

Comments
 (0)