mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
disable more CI stuff
This commit is contained in:
205
.github/workflows/build.yml
vendored
205
.github/workflows/build.yml
vendored
@@ -5,38 +5,38 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
build-image-sha:
|
build-image-sha:
|
||||||
type: string
|
type: string
|
||||||
description: 'SHA for electron/build image'
|
description: "SHA for electron/build image"
|
||||||
default: '933c7d6ff6802706875270bec2e3c891cf8add3f'
|
default: "933c7d6ff6802706875270bec2e3c891cf8add3f"
|
||||||
required: true
|
required: true
|
||||||
skip-macos:
|
skip-macos:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Skip macOS builds'
|
description: "Skip macOS builds"
|
||||||
default: false
|
default: false
|
||||||
required: false
|
required: false
|
||||||
skip-linux:
|
skip-linux:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Skip Linux builds'
|
description: "Skip Linux builds"
|
||||||
default: false
|
default: false
|
||||||
required: false
|
required: false
|
||||||
skip-windows:
|
skip-windows:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Skip Windows builds'
|
description: "Skip Windows builds"
|
||||||
default: false
|
default: false
|
||||||
required: false
|
required: false
|
||||||
skip-lint:
|
skip-lint:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Skip lint check'
|
description: "Skip lint check"
|
||||||
default: false
|
default: false
|
||||||
required: false
|
required: false
|
||||||
enable-ssh:
|
enable-ssh:
|
||||||
description: 'Enable SSH debugging'
|
description: "Enable SSH debugging"
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- '[1-9][0-9]-x-y'
|
- "[1-9][0-9]-x-y"
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
@@ -52,40 +52,40 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
outputs:
|
outputs:
|
||||||
docs: ${{ steps.filter.outputs.docs }}
|
docs: ${{ steps.filter.outputs.docs }}
|
||||||
src: ${{ steps.filter.outputs.src }}
|
src: ${{ steps.filter.outputs.src }}
|
||||||
build-image-sha: ${{ steps.set-output.outputs.build-image-sha }}
|
build-image-sha: ${{ steps.set-output.outputs.build-image-sha }}
|
||||||
docs-only: ${{ steps.set-output.outputs.docs-only }}
|
docs-only: ${{ steps.set-output.outputs.docs-only }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
|
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
docs:
|
docs:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- README.md
|
- README.md
|
||||||
- SECURITY.md
|
- SECURITY.md
|
||||||
- CONTRIBUTING.md
|
- CONTRIBUTING.md
|
||||||
- CODE_OF_CONDUCT.md
|
- CODE_OF_CONDUCT.md
|
||||||
src:
|
src:
|
||||||
- '!docs/**'
|
- '!docs/**'
|
||||||
- name: Set Outputs for Build Image SHA & Docs Only
|
- name: Set Outputs for Build Image SHA & Docs Only
|
||||||
id: set-output
|
id: set-output
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ inputs.build-image-sha }}" ]; then
|
if [ -z "${{ inputs.build-image-sha }}" ]; then
|
||||||
echo "build-image-sha=933c7d6ff6802706875270bec2e3c891cf8add3f" >> "$GITHUB_OUTPUT"
|
echo "build-image-sha=933c7d6ff6802706875270bec2e3c891cf8add3f" >> "$GITHUB_OUTPUT"
|
||||||
else
|
else
|
||||||
echo "build-image-sha=${{ inputs.build-image-sha }}" >> "$GITHUB_OUTPUT"
|
echo "build-image-sha=${{ inputs.build-image-sha }}" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
echo "docs-only=${{ steps.filter.outputs.docs == 'true' && steps.filter.outputs.src == 'false' }}" >> "$GITHUB_OUTPUT"
|
echo "docs-only=${{ steps.filter.outputs.docs == 'true' && steps.filter.outputs.src == 'false' }}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
# Lint Jobs
|
# Lint Jobs
|
||||||
lint:
|
lint:
|
||||||
needs: setup
|
needs: setup
|
||||||
if: ${{ !inputs.skip-lint }}
|
if: false # ${{ !inputs.skip-lint }}
|
||||||
uses: ./.github/workflows/pipeline-electron-lint.yml
|
uses: ./.github/workflows/pipeline-electron-lint.yml
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
# Docs Only Jobs
|
# Docs Only Jobs
|
||||||
docs-only:
|
docs-only:
|
||||||
needs: [setup, checkout-linux]
|
needs: [setup, checkout-linux]
|
||||||
if: ${{ needs.setup.outputs.docs-only == 'true' }}
|
if: false # ${{ needs.setup.outputs.docs-only == 'true' }}
|
||||||
uses: ./.github/workflows/pipeline-electron-docs-only.yml
|
uses: ./.github/workflows/pipeline-electron-docs-only.yml
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -107,7 +107,7 @@ jobs:
|
|||||||
# Checkout Jobs
|
# Checkout Jobs
|
||||||
checkout-macos:
|
checkout-macos:
|
||||||
needs: setup
|
needs: setup
|
||||||
if: ${{ needs.setup.outputs.src == 'true' && !inputs.skip-macos}}
|
if: false # ${{ needs.setup.outputs.src == 'true' && !inputs.skip-macos}}
|
||||||
runs-on: electron-arc-centralus-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -119,25 +119,25 @@ jobs:
|
|||||||
- /var/run/sas:/var/run/sas
|
- /var/run/sas:/var/run/sas
|
||||||
env:
|
env:
|
||||||
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac'
|
GCLIENT_EXTRA_ARGS: "--custom-var=checkout_mac=True --custom-var=host_os=mac"
|
||||||
outputs:
|
outputs:
|
||||||
build-image-sha: ${{ needs.setup.outputs.build-image-sha }}
|
build-image-sha: ${{ needs.setup.outputs.build-image-sha }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Electron
|
- name: Checkout Electron
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
||||||
with:
|
with:
|
||||||
path: src/electron
|
path: src/electron
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Checkout & Sync & Save
|
- name: Checkout & Sync & Save
|
||||||
uses: ./src/electron/.github/actions/checkout
|
uses: ./src/electron/.github/actions/checkout
|
||||||
with:
|
with:
|
||||||
generate-sas-token: 'true'
|
generate-sas-token: "true"
|
||||||
target-platform: macos
|
target-platform: macos
|
||||||
|
|
||||||
checkout-linux:
|
checkout-linux:
|
||||||
needs: setup
|
needs: setup
|
||||||
if: ${{ !inputs.skip-linux}}
|
if: false # ${{ !inputs.skip-linux}}
|
||||||
runs-on: electron-arc-centralus-linux-amd64-32core
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -150,21 +150,21 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
||||||
DD_API_KEY: ${{ secrets.DD_API_KEY }}
|
DD_API_KEY: ${{ secrets.DD_API_KEY }}
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_arm64=True'
|
GCLIENT_EXTRA_ARGS: "--custom-var=checkout_arm=True --custom-var=checkout_arm64=True"
|
||||||
PATCH_UP_APP_CREDS: ${{ secrets.PATCH_UP_APP_CREDS }}
|
PATCH_UP_APP_CREDS: ${{ secrets.PATCH_UP_APP_CREDS }}
|
||||||
outputs:
|
outputs:
|
||||||
build-image-sha: ${{ needs.setup.outputs.build-image-sha}}
|
build-image-sha: ${{ needs.setup.outputs.build-image-sha}}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Electron
|
- name: Checkout Electron
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
||||||
with:
|
with:
|
||||||
path: src/electron
|
path: src/electron
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Checkout & Sync & Save
|
- name: Checkout & Sync & Save
|
||||||
uses: ./src/electron/.github/actions/checkout
|
uses: ./src/electron/.github/actions/checkout
|
||||||
with:
|
with:
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
|
|
||||||
checkout-windows:
|
checkout-windows:
|
||||||
needs: setup
|
needs: setup
|
||||||
@@ -181,27 +181,28 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
||||||
CHROMIUM_GIT_COOKIE_WINDOWS_STRING: ${{ secrets.CHROMIUM_GIT_COOKIE_WINDOWS_STRING }}
|
CHROMIUM_GIT_COOKIE_WINDOWS_STRING: ${{ secrets.CHROMIUM_GIT_COOKIE_WINDOWS_STRING }}
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_win=True'
|
GCLIENT_EXTRA_ARGS: "--custom-var=checkout_win=True"
|
||||||
TARGET_OS: 'win'
|
TARGET_OS: "win"
|
||||||
ELECTRON_DEPOT_TOOLS_WIN_TOOLCHAIN: '1'
|
ELECTRON_DEPOT_TOOLS_WIN_TOOLCHAIN: "1"
|
||||||
outputs:
|
outputs:
|
||||||
build-image-sha: ${{ needs.setup.outputs.build-image-sha}}
|
build-image-sha: ${{ needs.setup.outputs.build-image-sha}}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Electron
|
- name: Checkout Electron
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
||||||
with:
|
with:
|
||||||
path: src/electron
|
path: src/electron
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Checkout & Sync & Save
|
- name: Checkout & Sync & Save
|
||||||
uses: ./src/electron/.github/actions/checkout
|
uses: ./src/electron/.github/actions/checkout
|
||||||
with:
|
with:
|
||||||
generate-sas-token: 'true'
|
generate-sas-token: "true"
|
||||||
target-platform: win
|
target-platform: win
|
||||||
|
|
||||||
# GN Check Jobs
|
# GN Check Jobs
|
||||||
macos-gn-check:
|
macos-gn-check:
|
||||||
uses: ./.github/workflows/pipeline-segment-electron-gn-check.yml
|
uses: ./.github/workflows/pipeline-segment-electron-gn-check.yml
|
||||||
|
if: false
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
needs: checkout-macos
|
needs: checkout-macos
|
||||||
@@ -217,7 +218,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
if: ${{ needs.setup.outputs.src == 'true' }}
|
if: false # ${{ needs.setup.outputs.src == 'true' }}
|
||||||
with:
|
with:
|
||||||
target-platform: linux
|
target-platform: linux
|
||||||
target-archs: x64 arm arm64
|
target-archs: x64 arm arm64
|
||||||
@@ -241,6 +242,7 @@ jobs:
|
|||||||
|
|
||||||
# Build Jobs - These cascade into testing jobs
|
# Build Jobs - These cascade into testing jobs
|
||||||
macos-x64:
|
macos-x64:
|
||||||
|
if: false
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
issues: read
|
issues: read
|
||||||
@@ -255,11 +257,12 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
enable-ssh: ${{ inputs.enable-ssh || false }}
|
enable-ssh: ${{ inputs.enable-ssh || false }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
macos-arm64:
|
macos-arm64:
|
||||||
|
if: false
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
issues: read
|
issues: read
|
||||||
@@ -274,7 +277,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
enable-ssh: ${{ inputs.enable-ssh || false }}
|
enable-ssh: ${{ inputs.enable-ssh || false }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
@@ -285,7 +288,7 @@ jobs:
|
|||||||
pull-requests: read
|
pull-requests: read
|
||||||
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
|
||||||
if: ${{ needs.setup.outputs.src == 'true' }}
|
if: false # ${{ needs.setup.outputs.src == 'true' }}
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: electron-arc-centralus-linux-amd64-4core
|
test-runs-on: electron-arc-centralus-linux-amd64-4core
|
||||||
@@ -296,7 +299,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
linux-x64-asan:
|
linux-x64-asan:
|
||||||
@@ -306,7 +309,7 @@ jobs:
|
|||||||
pull-requests: read
|
pull-requests: read
|
||||||
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
if: ${{ needs.setup.outputs.src == 'true' }}
|
if: false # ${{ needs.setup.outputs.src == 'true' }}
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: electron-arc-centralus-linux-amd64-4core
|
test-runs-on: electron-arc-centralus-linux-amd64-4core
|
||||||
@@ -317,7 +320,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
is-asan: true
|
is-asan: true
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
@@ -328,7 +331,7 @@ jobs:
|
|||||||
pull-requests: read
|
pull-requests: read
|
||||||
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
if: ${{ needs.setup.outputs.src == 'true' }}
|
if: false # ${{ needs.setup.outputs.src == 'true' }}
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: electron-arc-centralus-linux-arm64-4core
|
test-runs-on: electron-arc-centralus-linux-arm64-4core
|
||||||
@@ -339,7 +342,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
linux-arm64:
|
linux-arm64:
|
||||||
@@ -349,7 +352,7 @@ jobs:
|
|||||||
pull-requests: read
|
pull-requests: read
|
||||||
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
|
||||||
needs: checkout-linux
|
needs: checkout-linux
|
||||||
if: ${{ needs.setup.outputs.src == 'true' }}
|
if: false # ${{ needs.setup.outputs.src == 'true' }}
|
||||||
with:
|
with:
|
||||||
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
build-runs-on: electron-arc-centralus-linux-amd64-32core
|
||||||
test-runs-on: ubuntu-22.04-arm
|
test-runs-on: ubuntu-22.04-arm
|
||||||
@@ -360,7 +363,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
windows-x64:
|
windows-x64:
|
||||||
@@ -379,7 +382,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
windows-x86:
|
windows-x86:
|
||||||
@@ -398,7 +401,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
windows-arm64:
|
windows-arm64:
|
||||||
@@ -417,7 +420,7 @@ jobs:
|
|||||||
is-release: false
|
is-release: false
|
||||||
gn-build-type: testing
|
gn-build-type: testing
|
||||||
generate-symbols: false
|
generate-symbols: false
|
||||||
upload-to-storage: '0'
|
upload-to-storage: "0"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
gha-done:
|
gha-done:
|
||||||
@@ -425,9 +428,21 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
needs: [docs-only, macos-x64, macos-arm64, linux-x64, linux-x64-asan, linux-arm, linux-arm64, windows-x64, windows-x86, windows-arm64]
|
needs:
|
||||||
|
[
|
||||||
|
docs-only,
|
||||||
|
macos-x64,
|
||||||
|
macos-arm64,
|
||||||
|
linux-x64,
|
||||||
|
linux-x64-asan,
|
||||||
|
linux-arm,
|
||||||
|
linux-arm64,
|
||||||
|
windows-x64,
|
||||||
|
windows-x86,
|
||||||
|
windows-arm64,
|
||||||
|
]
|
||||||
if: always() && !contains(needs.*.result, 'failure')
|
if: always() && !contains(needs.*.result, 'failure')
|
||||||
steps:
|
steps:
|
||||||
- name: GitHub Actions Jobs Done
|
- name: GitHub Actions Jobs Done
|
||||||
run: |
|
run: |
|
||||||
echo "All GitHub Actions Jobs are done"
|
echo "All GitHub Actions Jobs are done"
|
||||||
|
|||||||
@@ -5,57 +5,57 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
target-platform:
|
target-platform:
|
||||||
type: string
|
type: string
|
||||||
description: 'Platform to run on, can be macos, win or linux'
|
description: "Platform to run on, can be macos, win or linux"
|
||||||
required: true
|
required: true
|
||||||
target-arch:
|
target-arch:
|
||||||
type: string
|
type: string
|
||||||
description: 'Arch to build for, can be x64, arm64 or arm'
|
description: "Arch to build for, can be x64, arm64 or arm"
|
||||||
required: true
|
required: true
|
||||||
build-runs-on:
|
build-runs-on:
|
||||||
type: string
|
type: string
|
||||||
description: 'What host to run the build'
|
description: "What host to run the build"
|
||||||
required: true
|
required: true
|
||||||
test-runs-on:
|
test-runs-on:
|
||||||
type: string
|
type: string
|
||||||
description: 'What host to run the tests on'
|
description: "What host to run the tests on"
|
||||||
required: true
|
required: true
|
||||||
build-container:
|
build-container:
|
||||||
type: string
|
type: string
|
||||||
description: 'JSON container information for aks runs-on'
|
description: "JSON container information for aks runs-on"
|
||||||
required: false
|
required: false
|
||||||
default: '{"image":null}'
|
default: '{"image":null}'
|
||||||
test-container:
|
test-container:
|
||||||
type: string
|
type: string
|
||||||
description: 'JSON container information for testing'
|
description: "JSON container information for testing"
|
||||||
required: false
|
required: false
|
||||||
default: '{"image":null}'
|
default: '{"image":null}'
|
||||||
is-release:
|
is-release:
|
||||||
description: 'Whether this build job is a release job'
|
description: "Whether this build job is a release job"
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
gn-build-type:
|
gn-build-type:
|
||||||
description: 'The gn build type - testing or release'
|
description: "The gn build type - testing or release"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
default: testing
|
default: testing
|
||||||
generate-symbols:
|
generate-symbols:
|
||||||
description: 'Whether or not to generate symbols'
|
description: "Whether or not to generate symbols"
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
upload-to-storage:
|
upload-to-storage:
|
||||||
description: 'Whether or not to upload build artifacts to external storage'
|
description: "Whether or not to upload build artifacts to external storage"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
default: '0'
|
default: "0"
|
||||||
is-asan:
|
is-asan:
|
||||||
description: 'Building the Address Sanitizer (ASan) Linux build'
|
description: "Building the Address Sanitizer (ASan) Linux build"
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
enable-ssh:
|
enable-ssh:
|
||||||
description: 'Enable SSH debugging'
|
description: "Enable SSH debugging"
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@@ -84,6 +84,7 @@ jobs:
|
|||||||
enable-ssh: ${{ inputs.enable-ssh }}
|
enable-ssh: ${{ inputs.enable-ssh }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
test:
|
test:
|
||||||
|
if: false
|
||||||
uses: ./.github/workflows/pipeline-segment-electron-test.yml
|
uses: ./.github/workflows/pipeline-segment-electron-test.yml
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user