ci: use new arc cluster (#47914)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
1ac47ee8cf
commit
e32dc4fa36
12 changed files with 49 additions and 39 deletions
5
.github/actions/build-electron/action.yml
vendored
5
.github/actions/build-electron/action.yml
vendored
|
@ -47,6 +47,11 @@ runs:
|
||||||
- name: Add Clang problem matcher
|
- name: Add Clang problem matcher
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "::add-matcher::src/electron/.github/problem-matchers/clang.json"
|
run: echo "::add-matcher::src/electron/.github/problem-matchers/clang.json"
|
||||||
|
- name: Enable long paths for Windows
|
||||||
|
shell: powershell
|
||||||
|
if: ${{ inputs.target-platform == 'win' }}
|
||||||
|
run: |
|
||||||
|
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -Type DWord
|
||||||
- name: Build Electron ${{ inputs.step-suffix }}
|
- name: Build Electron ${{ inputs.step-suffix }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
2
.github/actions/checkout/action.yml
vendored
2
.github/actions/checkout/action.yml
vendored
|
@ -40,7 +40,7 @@ runs:
|
||||||
if: ${{ inputs.generate-sas-token == 'true' }}
|
if: ${{ inputs.generate-sas-token == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
curl --unix-socket /var/run/sas/sas.sock --fail "http://foo/$CACHE_FILE?platform=${{ inputs.target-platform }}" > sas-token
|
curl --unix-socket /var/run/sas/sas.sock --fail "http://foo/$CACHE_FILE?platform=${{ inputs.target-platform }}&getAccountName=true" > sas-token
|
||||||
- name: Save SAS Key
|
- name: Save SAS Key
|
||||||
if: ${{ inputs.generate-sas-token == 'true' }}
|
if: ${{ inputs.generate-sas-token == 'true' }}
|
||||||
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||||
|
|
15
.github/actions/restore-cache-azcopy/action.yml
vendored
15
.github/actions/restore-cache-azcopy/action.yml
vendored
|
@ -36,18 +36,23 @@ runs:
|
||||||
echo "SAS Token not found; exiting src cache download early..."
|
echo "SAS Token not found; exiting src cache download early..."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
echo "const fs = require('fs');" > gettoken.js
|
||||||
|
echo "const fileContents = fs.readFileSync('sas-token', 'utf8');" >> gettoken.js
|
||||||
|
echo "const token = JSON.parse(fileContents);" >> gettoken.js
|
||||||
|
echo "console.log(token[process.argv[2]])" >> gettoken.js
|
||||||
|
sas_token=$(node ./gettoken.js sasToken)
|
||||||
|
account_name=$(node ./gettoken.js accountName)
|
||||||
if [ "${{ inputs.target-platform }}" = "win" ]; then
|
if [ "${{ inputs.target-platform }}" = "win" ]; then
|
||||||
azcopy copy --log-level=ERROR \
|
azcopy copy --log-level=ERROR \
|
||||||
"https://${{ env.AZURE_AKS_CACHE_STORAGE_ACCOUNT }}.file.core.windows.net/${{ env.AZURE_AKS_WIN_CACHE_SHARE_NAME }}/${{ env.CACHE_PATH }}?$sas_token" $DEPSHASH.tar
|
"https://$account_name.file.core.windows.net/${{ env.AZURE_AKS_WIN_CACHE_SHARE_NAME }}/${{ env.CACHE_PATH }}?$sas_token" $DEPSHASH.tar
|
||||||
else
|
else
|
||||||
azcopy copy --log-level=ERROR \
|
azcopy copy --log-level=ERROR \
|
||||||
"https://${{ env.AZURE_AKS_CACHE_STORAGE_ACCOUNT }}.file.core.windows.net/${{ env.AZURE_AKS_CACHE_SHARE_NAME }}/${{ env.CACHE_PATH }}?$sas_token" $DEPSHASH.tar
|
"https://$account_name.file.core.windows.net/${{ env.AZURE_AKS_CACHE_SHARE_NAME }}/${{ env.CACHE_PATH }}?$sas_token" $DEPSHASH.tar
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
AZURE_AKS_CACHE_STORAGE_ACCOUNT: f723719aa87a34622b5f7f3
|
AZURE_AKS_CACHE_SHARE_NAME: linux-cache
|
||||||
AZURE_AKS_CACHE_SHARE_NAME: pvc-f6a4089f-b082-4bee-a3f9-c3e1c0c02d8f
|
AZURE_AKS_WIN_CACHE_SHARE_NAME: windows-cache
|
||||||
AZURE_AKS_WIN_CACHE_SHARE_NAME: pvc-71dec4f2-0d44-4fd1-a2c3-add049d70bdf
|
|
||||||
- name: Clean SAS Key
|
- name: Clean SAS Key
|
||||||
shell: bash
|
shell: bash
|
||||||
run: rm -f sas-token
|
run: rm -f sas-token
|
||||||
|
|
6
.github/workflows/build-git-cache.yml
vendored
6
.github/workflows/build-git-cache.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-git-cache-linux:
|
build-git-cache-linux:
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
||||||
options: --user root
|
options: --user root
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
|
|
||||||
build-git-cache-windows:
|
build-git-cache-windows:
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
||||||
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
target-platform: win
|
target-platform: win
|
||||||
|
|
||||||
build-git-cache-macos:
|
build-git-cache-macos:
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
# This job updates the same git cache as linux, so it needs to run after the linux one.
|
# This job updates the same git cache as linux, so it needs to run after the linux one.
|
||||||
needs: build-git-cache-linux
|
needs: build-git-cache-linux
|
||||||
container:
|
container:
|
||||||
|
|
32
.github/workflows/build.yml
vendored
32
.github/workflows/build.yml
vendored
|
@ -92,7 +92,7 @@ jobs:
|
||||||
checkout-macos:
|
checkout-macos:
|
||||||
needs: setup
|
needs: setup
|
||||||
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-macos}}
|
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-macos}}
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:${{ needs.setup.outputs.build-image-sha }}
|
image: ghcr.io/electron/build:${{ needs.setup.outputs.build-image-sha }}
|
||||||
options: --user root
|
options: --user root
|
||||||
|
@ -120,7 +120,7 @@ jobs:
|
||||||
checkout-linux:
|
checkout-linux:
|
||||||
needs: setup
|
needs: setup
|
||||||
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-linux}}
|
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-linux}}
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:${{ needs.setup.outputs.build-image-sha }}
|
image: ghcr.io/electron/build:${{ needs.setup.outputs.build-image-sha }}
|
||||||
options: --user root
|
options: --user root
|
||||||
|
@ -146,7 +146,7 @@ jobs:
|
||||||
checkout-windows:
|
checkout-windows:
|
||||||
needs: setup
|
needs: setup
|
||||||
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:${{ needs.setup.outputs.build-image-sha }}
|
image: ghcr.io/electron/build:${{ needs.setup.outputs.build-image-sha }}
|
||||||
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
||||||
|
@ -191,7 +191,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
target-archs: x64 arm arm64
|
target-archs: x64 arm arm64
|
||||||
check-runs-on: electron-arc-linux-amd64-8core
|
check-runs-on: electron-arc-centralus-linux-amd64-8core
|
||||||
check-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
check-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
@ -202,7 +202,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
target-platform: win
|
target-platform: win
|
||||||
target-archs: x64 x86 arm64
|
target-archs: x64 x86 arm64
|
||||||
check-runs-on: electron-arc-linux-amd64-8core
|
check-runs-on: electron-arc-centralus-linux-amd64-8core
|
||||||
check-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-windows.outputs.build-image-sha }}","options":"--user root --device /dev/fuse --cap-add SYS_ADMIN","volumes":["/mnt/win-cache:/mnt/win-cache"]}'
|
check-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-windows.outputs.build-image-sha }}","options":"--user root --device /dev/fuse --cap-add SYS_ADMIN","volumes":["/mnt/win-cache:/mnt/win-cache"]}'
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
@ -252,8 +252,8 @@ jobs:
|
||||||
uses: ./.github/workflows/pipeline-electron-build-and-test-and-nan.yml
|
uses: ./.github/workflows/pipeline-electron-build-and-test-and-nan.yml
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: electron-arc-linux-amd64-4core
|
test-runs-on: electron-arc-centralus-linux-amd64-4core
|
||||||
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
test-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init"}'
|
test-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init"}'
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
|
@ -272,8 +272,8 @@ jobs:
|
||||||
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: electron-arc-linux-amd64-4core
|
test-runs-on: electron-arc-centralus-linux-amd64-4core
|
||||||
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
test-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init"}'
|
test-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init"}'
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
|
@ -293,8 +293,8 @@ jobs:
|
||||||
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: electron-arc-linux-arm64-4core
|
test-runs-on: electron-arc-centralus-linux-arm64-4core
|
||||||
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
test-container: '{"image":"ghcr.io/electron/test:arm32v7-${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init","volumes":["/home/runner/externals:/mnt/runner-externals"]}'
|
test-container: '{"image":"ghcr.io/electron/test:arm32v7-${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init","volumes":["/home/runner/externals:/mnt/runner-externals"]}'
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
|
@ -313,8 +313,8 @@ jobs:
|
||||||
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: electron-arc-linux-arm64-4core
|
test-runs-on: electron-arc-centralus-linux-arm64-4core
|
||||||
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
build-container: '{"image":"ghcr.io/electron/build:${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
test-container: '{"image":"ghcr.io/electron/test:arm64v8-${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init"}'
|
test-container: '{"image":"ghcr.io/electron/test:arm64v8-${{ needs.checkout-linux.outputs.build-image-sha }}","options":"--user root --privileged --init"}'
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
|
@ -334,7 +334,7 @@ jobs:
|
||||||
needs: checkout-windows
|
needs: checkout-windows
|
||||||
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-windows-amd64-16core
|
build-runs-on: electron-arc-centralus-windows-amd64-16core
|
||||||
test-runs-on: windows-latest
|
test-runs-on: windows-latest
|
||||||
target-platform: win
|
target-platform: win
|
||||||
target-arch: x64
|
target-arch: x64
|
||||||
|
@ -353,7 +353,7 @@ jobs:
|
||||||
needs: checkout-windows
|
needs: checkout-windows
|
||||||
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-windows-amd64-16core
|
build-runs-on: electron-arc-centralus-windows-amd64-16core
|
||||||
test-runs-on: windows-latest
|
test-runs-on: windows-latest
|
||||||
target-platform: win
|
target-platform: win
|
||||||
target-arch: x86
|
target-arch: x86
|
||||||
|
@ -372,7 +372,7 @@ jobs:
|
||||||
needs: checkout-windows
|
needs: checkout-windows
|
||||||
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-windows }}
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-windows-amd64-16core
|
build-runs-on: electron-arc-centralus-windows-amd64-16core
|
||||||
test-runs-on: electron-hosted-windows-arm64-4core
|
test-runs-on: electron-hosted-windows-arm64-4core
|
||||||
target-platform: win
|
target-platform: win
|
||||||
target-arch: arm64
|
target-arch: arm64
|
||||||
|
|
2
.github/workflows/clean-src-cache.yml
vendored
2
.github/workflows/clean-src-cache.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clean-src-cache:
|
clean-src-cache:
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
|
||||||
options: --user root
|
options: --user root
|
||||||
|
|
8
.github/workflows/linux-publish.yml
vendored
8
.github/workflows/linux-publish.yml
vendored
|
@ -19,7 +19,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout-linux:
|
checkout-linux:
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:${{ inputs.build-image-sha }}
|
image: ghcr.io/electron/build:${{ inputs.build-image-sha }}
|
||||||
options: --user root
|
options: --user root
|
||||||
|
@ -43,7 +43,7 @@ jobs:
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
with:
|
with:
|
||||||
environment: production-release
|
environment: production-release
|
||||||
build-runs-on: electron-arc-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
build-container: '{"image":"ghcr.io/electron/build:${{ inputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
build-container: '{"image":"ghcr.io/electron/build:${{ inputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
target-arch: x64
|
target-arch: x64
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
with:
|
with:
|
||||||
environment: production-release
|
environment: production-release
|
||||||
build-runs-on: electron-arc-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
build-container: '{"image":"ghcr.io/electron/build:${{ inputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
build-container: '{"image":"ghcr.io/electron/build:${{ inputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
target-arch: arm
|
target-arch: arm
|
||||||
|
@ -75,7 +75,7 @@ jobs:
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
with:
|
with:
|
||||||
environment: production-release
|
environment: production-release
|
||||||
build-runs-on: electron-arc-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
build-container: '{"image":"ghcr.io/electron/build:${{ inputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
build-container: '{"image":"ghcr.io/electron/build:${{ inputs.build-image-sha }}","options":"--user root","volumes":["/mnt/cross-instance-cache:/mnt/cross-instance-cache"]}'
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
target-arch: arm64
|
target-arch: arm64
|
||||||
|
|
2
.github/workflows/macos-publish.yml
vendored
2
.github/workflows/macos-publish.yml
vendored
|
@ -20,7 +20,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout-macos:
|
checkout-macos:
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:${{ inputs.build-image-sha }}
|
image: ghcr.io/electron/build:${{ inputs.build-image-sha }}
|
||||||
options: --user root
|
options: --user root
|
||||||
|
|
|
@ -15,7 +15,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
docs-only:
|
docs-only:
|
||||||
name: Docs Only Compile
|
name: Docs Only Compile
|
||||||
runs-on: electron-arc-linux-amd64-4core
|
runs-on: electron-arc-centralus-linux-amd64-4core
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
container: ${{ fromJSON(inputs.container) }}
|
container: ${{ fromJSON(inputs.container) }}
|
||||||
steps:
|
steps:
|
||||||
|
|
2
.github/workflows/pipeline-electron-lint.yml
vendored
2
.github/workflows/pipeline-electron-lint.yml
vendored
|
@ -18,7 +18,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: electron-arc-linux-amd64-4core
|
runs-on: electron-arc-centralus-linux-amd64-4core
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
container: ${{ fromJSON(inputs.container) }}
|
container: ${{ fromJSON(inputs.container) }}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -38,7 +38,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
node-tests:
|
node-tests:
|
||||||
name: Run Node.js Tests
|
name: Run Node.js Tests
|
||||||
runs-on: electron-arc-linux-amd64-8core
|
runs-on: electron-arc-centralus-linux-amd64-8core
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
TARGET_ARCH: ${{ inputs.target-arch }}
|
TARGET_ARCH: ${{ inputs.target-arch }}
|
||||||
|
@ -92,7 +92,7 @@ jobs:
|
||||||
done
|
done
|
||||||
nan-tests:
|
nan-tests:
|
||||||
name: Run Nan Tests
|
name: Run Nan Tests
|
||||||
runs-on: electron-arc-linux-amd64-4core
|
runs-on: electron-arc-centralus-linux-amd64-4core
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
TARGET_ARCH: ${{ inputs.target-arch }}
|
TARGET_ARCH: ${{ inputs.target-arch }}
|
||||||
|
|
8
.github/workflows/windows-publish.yml
vendored
8
.github/workflows/windows-publish.yml
vendored
|
@ -20,7 +20,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout-windows:
|
checkout-windows:
|
||||||
runs-on: electron-arc-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/electron/build:${{ inputs.build-image-sha }}
|
image: ghcr.io/electron/build:${{ inputs.build-image-sha }}
|
||||||
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
needs: checkout-windows
|
needs: checkout-windows
|
||||||
with:
|
with:
|
||||||
environment: production-release
|
environment: production-release
|
||||||
build-runs-on: electron-arc-windows-amd64-16core
|
build-runs-on: electron-arc-centralus-windows-amd64-16core
|
||||||
target-platform: win
|
target-platform: win
|
||||||
target-arch: x64
|
target-arch: x64
|
||||||
is-release: true
|
is-release: true
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
needs: checkout-windows
|
needs: checkout-windows
|
||||||
with:
|
with:
|
||||||
environment: production-release
|
environment: production-release
|
||||||
build-runs-on: electron-arc-windows-amd64-16core
|
build-runs-on: electron-arc-centralus-windows-amd64-16core
|
||||||
target-platform: win
|
target-platform: win
|
||||||
target-arch: arm64
|
target-arch: arm64
|
||||||
is-release: true
|
is-release: true
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
needs: checkout-windows
|
needs: checkout-windows
|
||||||
with:
|
with:
|
||||||
environment: production-release
|
environment: production-release
|
||||||
build-runs-on: electron-arc-windows-amd64-16core
|
build-runs-on: electron-arc-centralus-windows-amd64-16core
|
||||||
target-platform: win
|
target-platform: win
|
||||||
target-arch: x86
|
target-arch: x86
|
||||||
is-release: true
|
is-release: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue