From 30310d0a81b8f2d8b3174697f7989472a7914b17 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sun, 13 Mar 2022 18:36:16 +0800 Subject: [PATCH] ci: install dependencies with x64 Node.js while testing windows i686 --- .github/workflows/windows-i686.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/windows-i686.yml b/.github/workflows/windows-i686.yml index 76f2dd34..fdbb53f1 100644 --- a/.github/workflows/windows-i686.yml +++ b/.github/workflows/windows-i686.yml @@ -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