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 = {
|
const configuration = {
|
||||||
extensions: ['ts', 'tsx'],
|
extensions: ['ts', 'tsx'],
|
||||||
files: ['examples/**/__test__/**/*.spec.ts'],
|
files: ['cli/**/*.spec.ts', 'examples/**/__test__/**/*.spec.ts'],
|
||||||
require: ['ts-node/register/transpile-only'],
|
require: ['ts-node/register/transpile-only'],
|
||||||
environmentVariables: {
|
environmentVariables: {
|
||||||
TS_NODE_PROJECT: './examples/tsconfig.json',
|
TS_NODE_PROJECT: './examples/tsconfig.json',
|
||||||
|
|
|
@ -93,6 +93,26 @@ const triples = [
|
||||||
raw: 'armv7-unknown-linux-gnueabihf',
|
raw: 'armv7-unknown-linux-gnueabihf',
|
||||||
} as const,
|
} 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) {
|
for (const triple of triples) {
|
||||||
|
|
Loading…
Reference in a new issue