mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-04-21 08:21:56 +00:00
updated test workflow
This commit is contained in:
parent
cd508c25c9
commit
84dc392180
2 changed files with 70 additions and 6 deletions
68
.github/workflows/test.yml
vendored
68
.github/workflows/test.yml
vendored
|
|
@ -51,7 +51,37 @@ jobs:
|
|||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run prettier
|
||||
build-test-arm64:
|
||||
build-test-windows-arm64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: windows-11-arm
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 24
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test-windows-arm64
|
||||
build-test-linux-arm64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 24
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test-linux-arm64
|
||||
build-test-macos-arm64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
|
|
@ -65,8 +95,23 @@ jobs:
|
|||
node-version: 24
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test-arm64
|
||||
build-test-x64:
|
||||
- run: pnpm run test-macos-arm64
|
||||
build-test-windows-x64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 24
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test-windows-x64
|
||||
build-test-linux-x64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -80,4 +125,19 @@ jobs:
|
|||
node-version: 24
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test-x64
|
||||
- run: pnpm run test-linux-x64
|
||||
build-test-macos-x64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: macos-15-intel
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 24
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test-macos-x64
|
||||
|
|
|
|||
|
|
@ -123,7 +123,11 @@
|
|||
"build-macos-arm64-gui": "pnpm run prebuild-gui && cd lib && node modules/build macos-arm64 true",
|
||||
"build-alpine-x64-gui": "pnpm run prebuild-gui && cd lib && node modules/build alpine-x64 true",
|
||||
"build-alpine-arm64-gui": "pnpm run prebuild-gui && cd lib && node modules/build alpine-arm64 true",
|
||||
"test-x64": "pnpm run pretest && cd lib && node modules/build windows-x64 && node modules/build macos-x64 && node modules/build linuxstatic-x64 && node modules/build alpine-x64 && node modules/build linuxstatic-armv7",
|
||||
"test-arm64": "pnpm run pretest && cd lib && node modules/build windows-arm64 && node modules/build macos-arm64 && node modules/build linuxstatic-arm64 && node modules/build alpine-x64"
|
||||
"test-windows-x64": "pnpm run pretest && cd lib && node modules/build windows-x64",
|
||||
"test-linux-x64": "pnpm run pretest && cd lib && node modules/build linuxstatic-x64 && node modules/build alpine-x64 && node modules/build linuxstatic-armv7",
|
||||
"test-macos-x64": "pnpm run pretest && cd lib && node modules/build macos-x64",
|
||||
"test-windows-arm64": "pnpm run pretest && cd lib && node modules/build windows-arm64",
|
||||
"test-linux-arm64": "pnpm run pretest && cd lib && node modules/build linuxstatic-arm64 && node modules/build alpine-x64",
|
||||
"test-macos-arm64": "pnpm run pretest && cd lib && node modules/build macos-arm64"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue