ci: install dependencies with x64 Node.js while testing windows i686
This commit is contained in:
parent
5005aaa5af
commit
30310d0a81
1 changed files with 11 additions and 10 deletions
21
.github/workflows/windows-i686.yml
vendored
21
.github/workflows/windows-i686.yml
vendored
|
@ -22,11 +22,12 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
architecture: 'x86'
|
||||
architecture: 'x64'
|
||||
cache: 'yarn'
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: yarn install --mode=skip-build --immutable --network-timeout 300000
|
||||
run: |
|
||||
yarn install --mode=skip-build --immutable
|
||||
|
||||
- name: 'Build TypeScript'
|
||||
run: yarn build
|
||||
|
@ -37,14 +38,7 @@ jobs:
|
|||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
|
||||
- name: Install i686 toolchain
|
||||
run: rustup target add i686-pc-windows-msvc
|
||||
|
||||
- name: Generate Cargo.lock
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: generate-lockfile
|
||||
target: i686-pc-windows-msvc
|
||||
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@v2
|
||||
|
@ -64,6 +58,13 @@ jobs:
|
|||
command: check
|
||||
args: --all --bins --examples --tests --target i686-pc-windows-msvc -vvv
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
architecture: 'x86'
|
||||
|
||||
- name: Build Tests
|
||||
run: |
|
||||
yarn workspace compat-mode-examples build-i686 --release
|
||||
|
|
Loading…
Reference in a new issue