Skip to content

Fix waitpid to return the child exit code #34

Fix waitpid to return the child exit code

Fix waitpid to return the child exit code #34

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
check:
name: Check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
rust:
- stable
- beta
- nightly
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Run cargo test
run: CARGO_BIN=$(which cargo); sudo -E $CARGO_BIN test