Merge pull request #556 from wasmerio/feature/add-make-check-to-build

Add make check to build to check features are in test
This commit is contained in:
Brandon Fish 2019-07-12 22:54:56 -05:00 committed by GitHub
commit 09db8d6cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -111,6 +111,10 @@ jobs:
name: Debug flag checked name: Debug flag checked
command: | command: |
cargo check --features "debug" --release cargo check --features "debug" --release
- run:
name: Check
command: |
make check
- run: - run:
name: Release name: Release
command: make release-fast command: make release-fast
@ -163,6 +167,11 @@ jobs:
ulimit -n 8000 ulimit -n 8000
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680 sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
make test make test
- run:
name: Check
command: |
export PATH="$HOME/.cargo/bin:$PATH"
make check
- run: - run:
name: Release name: Release
command: | command: |

View File

@ -117,6 +117,9 @@ debug:
install: install:
cargo install --path . cargo install --path .
check:
cargo check --release --features backend-singlepass,backend-llvm,loader:kernel
release: release:
cargo build --release --features backend-singlepass,backend-llvm,loader:kernel cargo build --release --features backend-singlepass,backend-llvm,loader:kernel