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 Jan 8, 2022
1 parent 4fea079 commit 2c21a65
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,32 @@ fi",
}
]
},
"no_oom": {
"name": "Check try_reserve (Will fail for now)",
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "actions/checkout@v2",
"name": "Checkout"
},
{
"uses": "actions-rs/toolchain@v1",
"with": {
"profile": "minimal",
"toolchain": "nightly",
"components": "rust-src",
"override": true
},
"name": "Install Rust nightly"
},
{
"run": "cargo build --no-default-features --features alloc -Z build-std=core,alloc --target x86_64-unknown-linux-gnu",
"env": {
"RUSTFLAGS": "--cfg no_global_oom_handling"
}
}
]
},
"lints": {
"name": "Lints",
"runs-on": "ubuntu-latest",
Expand Down

0 comments on commit 2c21a65

Please sign in to comment.