mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-24 18:02:13 +00:00
Add the android test script to the CI pipeline
This commit is contained in:
parent
93f6a9b91b
commit
056e9cf88c
3
Makefile
3
Makefile
@ -172,6 +172,9 @@ test-rest:
|
||||
|
||||
test: spectests emtests middleware wasitests test-rest examples
|
||||
|
||||
test-android:
|
||||
ci/run-docker.sh x86_64-linux-android --manifest-path=lib/singlepass-backend/Cargo.toml
|
||||
ci/run-docker.sh x86_64-linux-android --manifest-path=lib/runtime-core-tests/Cargo.toml
|
||||
|
||||
# Integration tests
|
||||
integration-tests: release-clif examples
|
||||
|
@ -46,6 +46,10 @@ jobs:
|
||||
linux:
|
||||
imageName: "ubuntu-16.04"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
android:
|
||||
imageName: "ubuntu-16.04"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
ANDROID: true
|
||||
mac:
|
||||
imageName: "macos-10.14"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
@ -81,10 +85,13 @@ jobs:
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
|
||||
- bash: make test
|
||||
displayName: Tests (*nix)
|
||||
condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')))
|
||||
condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')), not(variables['ANDROID']))
|
||||
- bash: make test-android
|
||||
displayName: Tests (Android)
|
||||
condition: and(succeeded(), variables['ANDROID'])
|
||||
- bash: make spectests-cranelift
|
||||
displayName: Tests (Windows)
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), not(variables['ANDROID']))
|
||||
|
||||
- job: Check
|
||||
pool:
|
||||
|
Loading…
x
Reference in New Issue
Block a user