Add memory page size alignment for madvise, mlock and munlock #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
- switch-to-windows-sys | |
pull_request: {} | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
env: | |
RUSTFLAGS: "-D warnings" | |
steps: | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
- uses: actions/checkout@master | |
- name: minimum feature | |
run: | | |
cd memsec-test | |
cargo test --no-default-features | |
- name: all feature | |
run: | | |
cd memsec-test | |
cargo test | |
- name: nightly | |
run: | | |
cd memsec-test | |
cargo test --features nightly |