Skip to content

Commit

Permalink
Added a pipeline to deny 'no_global_oom_handling'
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorKoenders committed Dec 11, 2021
1 parent 882e227 commit 269d391
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,30 @@ fi",
}
]
},
"no oom": {
"steps": [
{
"uses": "actions/checkout@v2",
"name": "Checkout"
},
{
"uses": "actions-rs/toolchain@v1",
"with": {
"profile": "minimal",
"toolchain": "nightly",
"components": "rust-std",
"override": true
},
"name": "Install Rust nightly"
},
{
"run": "cargo build --no-default-features --features alloc -Z build-std=core,alloc --target x86_64-pc-windows-msvc",
"env": {
"RUSTFLAGS": "--cfg no_global_oom_handling"
}
}
]
},
"lints": {
"name": "Lints",
"runs-on": "ubuntu-latest",
Expand Down

0 comments on commit 269d391

Please sign in to comment.