Skip to content

Commit 1086a0e

Browse files
committed
Lets try matrix this
1 parent fc9deaa commit 1086a0e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15+
feature_flags: [byond-515-1621, byond-516-1651]
1516
include:
1617
- os: ubuntu-latest
1718
target_name: i686-unknown-linux-gnu
@@ -39,7 +40,7 @@ jobs:
3940
with:
4041
toolchain: stable
4142
command: check
42-
args: --target ${{ matrix.target_name }}
43+
args: --target ${{ matrix.target_name }} --no-default-features --features ${{ matrix.feature_flags }}
4344

4445
check_fmt:
4546
name: Check format

crates/byondapi-rs-test/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ edition = "2021"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
byondapi = { path = "../byondapi-rs" }
12+
byondapi = { path = "../byondapi-rs", default-features = false }
1313
tempfile = "3.17.1"
1414
cargo_metadata = "0.19.1"
1515
eyre = "0.6.12"
16+
17+
[features]
18+
default = ["byond-516-1651"]
19+
byond-515-1621 = ["byondapi/byond-515-1621",]
20+
byond-516-1651 = ["byondapi/byond-516-1651"]

0 commit comments

Comments
 (0)