Simplified azure testing

This commit is contained in:
Syrus 2020-04-16 13:26:24 -07:00
parent 7071e48c2b
commit 081ab36237
2 changed files with 4 additions and 6 deletions

View File

@ -1,10 +1,11 @@
.PHONY: spectests emtests clean build install lint precommit docs examples .PHONY: spectests emtests clean build install lint precommit docs examples
# Uname only works in *Unix like systems # uname only works in *Unix like systems
ifneq ($(OS), Windows_NT) ifneq ($(OS), Windows_NT)
ARCH := $(shell uname -m) ARCH := $(shell uname -m)
UNAME_S := $(shell uname -s) UNAME_S := $(shell uname -s)
else else
# We can assume, if in windows it will likely be in x86_64
ARCH := x86_64 ARCH := x86_64
UNAME_S := UNAME_S :=
endif endif

View File

@ -93,14 +93,11 @@ jobs:
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin')) condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
- bash: make test - bash: make test
displayName: Tests (*nix) displayName: Tests (*nix)
condition: and(succeeded(), eq(variables['Agent.OSArchitecture'], 'X64'), not(eq(variables['Agent.OS'], 'Windows_NT')), not(variables['ANDROID'])) condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')), not(variables['ANDROID']))
- bash: make spectests-singlepass
displayName: Tests (Linux ARM)
condition: and(succeeded(), eq(variables['Agent.OSArchitecture'], 'ARM64'), not(variables['ANDROID']))
- bash: make test-android - bash: make test-android
displayName: Tests (Android) displayName: Tests (Android)
condition: and(succeeded(), variables['ANDROID']) condition: and(succeeded(), variables['ANDROID'])
- bash: make spectests-cranelift - bash: make spectests
displayName: Tests (Windows) displayName: Tests (Windows)
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), not(variables['ANDROID'])) condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), not(variables['ANDROID']))