mirror of
https://github.com/Drop-OSS/droplet.git
synced 2025-11-13 00:02:46 +10:00
fix: remote i686 build
This commit is contained in:
16
.github/workflows/CI.yml
vendored
16
.github/workflows/CI.yml
vendored
@ -31,11 +31,6 @@ jobs:
|
|||||||
- host: windows-latest
|
- host: windows-latest
|
||||||
build: yarn build --target x86_64-pc-windows-msvc
|
build: yarn build --target x86_64-pc-windows-msvc
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
- host: windows-latest
|
|
||||||
build: |
|
|
||||||
yarn build --target i686-pc-windows-msvc
|
|
||||||
yarn test
|
|
||||||
target: i686-pc-windows-msvc
|
|
||||||
- host: ubuntu-latest
|
- host: ubuntu-latest
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
|
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
|
||||||
@ -116,19 +111,8 @@ jobs:
|
|||||||
run: ${{ matrix.settings.setup }}
|
run: ${{ matrix.settings.setup }}
|
||||||
if: ${{ matrix.settings.setup }}
|
if: ${{ matrix.settings.setup }}
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Setup node x86
|
|
||||||
if: matrix.settings.target == 'i686-pc-windows-msvc'
|
|
||||||
run: yarn config set supportedArchitectures.cpu "ia32"
|
|
||||||
shell: bash
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Setup node x86
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
if: matrix.settings.target == 'i686-pc-windows-msvc'
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
cache: yarn
|
|
||||||
architecture: x86
|
|
||||||
- name: Build in docker
|
- name: Build in docker
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
if: ${{ matrix.settings.docker }}
|
if: ${{ matrix.settings.docker }}
|
||||||
|
|||||||
Reference in New Issue
Block a user