Skip to content

Add freebsd support: Add MAP_FIXED to mmap call. #38

Add freebsd support: Add MAP_FIXED to mmap call.

Add freebsd support: Add MAP_FIXED to mmap call. #38

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
test-linux:
name: Unit Tests Linux
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: full
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-targets -- --nocapture
test-macos:
name: Unit Tests macOS
runs-on: macos-latest
env:
RUST_BACKTRACE: full
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-targets -- --nocapture
test-windows:
name: Unit Test Windows
runs-on: windows-latest
env:
RUST_BACKTRACE: full
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-targets -- --nocapture