From d13514b10b96bad40a6738d2fcac6db100fc0e02 Mon Sep 17 00:00:00 2001 From: Pavinthan <13897936+pavinthan@users.noreply.github.com> Date: Thu, 18 Feb 2021 23:25:29 +0530 Subject: [PATCH] ia32 build options added in Github workflows (#2221) Co-authored-by: Pavinthan --- .github/workflows/build.yml | 8 ++++++-- .github/workflows/test-merge.yml | 8 ++++++-- .github/workflows/test.yml | 8 ++++++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4f9fea..62c9444 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,11 +6,15 @@ on: - 'force-build' jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.config.os }} strategy: matrix: node-version: [14.x] - os: [ubuntu-latest, windows-latest, macos-latest] + config: + - { os: macos-latest, arch: x64 } + - { os: ubuntu-latest, arch: x64 } + - { os: windows-latest, arch: x64 } + - { os: windows-latest, arch: ia32 } steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/test-merge.yml b/.github/workflows/test-merge.yml index 510a653..2196458 100644 --- a/.github/workflows/test-merge.yml +++ b/.github/workflows/test-merge.yml @@ -8,12 +8,16 @@ on: # types: [opened, synchronize] jobs: test-merge: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.config.os }} strategy: matrix: # chances are that we'll never break on a merge to master on just one version of node node-version: [14.x] - os: [ubuntu-latest, windows-latest, macos-latest] + config: + - { os: macos-latest, arch: x64 } + - { os: ubuntu-latest, arch: x64 } + - { os: windows-latest, arch: x64 } + - { os: windows-latest, arch: ia32 } steps: - uses: actions/checkout@v1 - name: merge master diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5aa048..a0197b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,11 +7,15 @@ on: # types: [opened, synchronize] jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.config.os }} strategy: matrix: node-version: [10.x, 12.x, 14.x] - os: [ubuntu-latest, windows-latest, macos-latest] + config: + - { os: macos-latest, arch: x64 } + - { os: ubuntu-latest, arch: x64 } + - { os: windows-latest, arch: x64 } + - { os: windows-latest, arch: ia32 } steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }}