Force install of ARM64 Electron headers (#2759)
* Force install of ARM64 Electron headers * Update other files and include x86
This commit is contained in:
9
.github/workflows/build-for-pr.yml
vendored
9
.github/workflows/build-for-pr.yml
vendored
@@ -72,12 +72,7 @@ jobs:
|
|||||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||||
run: |
|
run: npm ci --openssl_fips=''
|
||||||
choco install yq --version 4.15.1 -y
|
|
||||||
npm i -g node-gyp
|
|
||||||
node-gyp install
|
|
||||||
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
|
||||||
npm ci --openssl_fips=''
|
|
||||||
|
|
||||||
build-win-for-pr:
|
build-win-for-pr:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
@@ -110,6 +105,8 @@ jobs:
|
|||||||
npm i -g node-gyp
|
npm i -g node-gyp
|
||||||
node-gyp install
|
node-gyp install
|
||||||
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch arm64
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch ia32
|
||||||
- name: ci/install-dependencies
|
- name: ci/install-dependencies
|
||||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
|
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@@ -75,12 +75,7 @@ jobs:
|
|||||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||||
run: |
|
run: npm ci --openssl_fips=''
|
||||||
choco install yq --version 4.15.1 -y
|
|
||||||
npm i -g node-gyp
|
|
||||||
node-gyp install
|
|
||||||
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
|
||||||
npm ci --openssl_fips=''
|
|
||||||
|
|
||||||
build-win-no-installer:
|
build-win-no-installer:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
@@ -113,6 +108,8 @@ jobs:
|
|||||||
npm i -g node-gyp
|
npm i -g node-gyp
|
||||||
node-gyp install
|
node-gyp install
|
||||||
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch arm64
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch ia32
|
||||||
- name: ci/install-dependencies
|
- name: ci/install-dependencies
|
||||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
|
2
.github/workflows/nightly-main.yml
vendored
2
.github/workflows/nightly-main.yml
vendored
@@ -82,6 +82,8 @@ jobs:
|
|||||||
npm i -g node-gyp
|
npm i -g node-gyp
|
||||||
node-gyp install
|
node-gyp install
|
||||||
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch arm64
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch ia32
|
||||||
npm ci --openssl_fips=''
|
npm ci --openssl_fips=''
|
||||||
- name: nightly/test
|
- name: nightly/test
|
||||||
uses: ./.github/actions/test
|
uses: ./.github/actions/test
|
||||||
|
2
.github/workflows/nightly-rainforest.yml
vendored
2
.github/workflows/nightly-rainforest.yml
vendored
@@ -50,6 +50,8 @@ jobs:
|
|||||||
npm i -g node-gyp
|
npm i -g node-gyp
|
||||||
node-gyp install
|
node-gyp install
|
||||||
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch arm64
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch ia32
|
||||||
npm ci --openssl_fips=''
|
npm ci --openssl_fips=''
|
||||||
- name: nightly/test
|
- name: nightly/test
|
||||||
uses: ./.github/actions/test
|
uses: ./.github/actions/test
|
||||||
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -89,6 +89,8 @@ jobs:
|
|||||||
npm i -g node-gyp
|
npm i -g node-gyp
|
||||||
node-gyp install
|
node-gyp install
|
||||||
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch arm64
|
||||||
|
node-gyp install --devdir="C:\Users\runneradmin\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch ia32
|
||||||
npm ci --openssl_fips=''
|
npm ci --openssl_fips=''
|
||||||
- name: release/test
|
- name: release/test
|
||||||
uses: ./.github/actions/test
|
uses: ./.github/actions/test
|
||||||
|
@@ -518,6 +518,8 @@ function InstallDeps-Electron {
|
|||||||
npm i -g node-gyp
|
npm i -g node-gyp
|
||||||
node-gyp install
|
node-gyp install
|
||||||
node-gyp install --devdir="$env:USERPROFILE\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
node-gyp install --devdir="$env:USERPROFILE\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
||||||
|
node-gyp install --devdir="$env:USERPROFILE\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch arm64
|
||||||
|
node-gyp install --devdir="$env:USERPROFILE\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers" --arch ia32
|
||||||
npm ci
|
npm ci
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user