test(cli): add android target triple test
This commit is contained in:
parent
db40b6a874
commit
c25cfc5773
2 changed files with 21 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
const configuration = {
|
||||
extensions: ['ts', 'tsx'],
|
||||
files: ['examples/**/__test__/**/*.spec.ts'],
|
||||
files: ['cli/**/*.spec.ts', 'examples/**/__test__/**/*.spec.ts'],
|
||||
require: ['ts-node/register/transpile-only'],
|
||||
environmentVariables: {
|
||||
TS_NODE_PROJECT: './examples/tsconfig.json',
|
||||
|
|
|
@ -93,6 +93,26 @@ const triples = [
|
|||
raw: 'armv7-unknown-linux-gnueabihf',
|
||||
} as const,
|
||||
},
|
||||
{
|
||||
name: 'aarch64-linux-android',
|
||||
expected: {
|
||||
abi: null,
|
||||
arch: 'arm64',
|
||||
platform: 'android',
|
||||
platformArchABI: 'android-arm64',
|
||||
raw: 'aarch64-linux-android',
|
||||
},
|
||||
} as const,
|
||||
{
|
||||
name: 'armv7-linux-androideabi',
|
||||
expected: {
|
||||
abi: 'eabi',
|
||||
arch: 'arm',
|
||||
platform: 'android',
|
||||
platformArchABI: 'android-arm-eabi',
|
||||
raw: 'armv7-linux-androideabi',
|
||||
},
|
||||
} as const,
|
||||
]
|
||||
|
||||
for (const triple of triples) {
|
||||
|
|
Loading…
Reference in a new issue