disable more CI stuff

This commit is contained in:
clavin
2026-01-02 16:51:00 -08:00
parent 888faed66a
commit 1e2c697aa7
2 changed files with 131 additions and 115 deletions

View File

@@ -5,38 +5,38 @@ on:
inputs:
build-image-sha:
type: string
description: 'SHA for electron/build image'
default: '933c7d6ff6802706875270bec2e3c891cf8add3f'
description: "SHA for electron/build image"
default: "933c7d6ff6802706875270bec2e3c891cf8add3f"
required: true
skip-macos:
type: boolean
description: 'Skip macOS builds'
description: "Skip macOS builds"
default: false
required: false
skip-linux:
type: boolean
description: 'Skip Linux builds'
description: "Skip Linux builds"
default: false
required: false
skip-windows:
type: boolean
description: 'Skip Windows builds'
description: "Skip Windows builds"
default: false
required: false
skip-lint:
type: boolean
description: 'Skip lint check'
description: "Skip lint check"
default: false
required: false
enable-ssh:
description: 'Enable SSH debugging'
description: "Enable SSH debugging"
required: false
type: boolean
default: false
push:
branches:
- main
- '[1-9][0-9]-x-y'
- "[1-9][0-9]-x-y"
pull_request:
defaults:
@@ -85,7 +85,7 @@ jobs:
# Lint Jobs
lint:
needs: setup
if: ${{ !inputs.skip-lint }}
if: false # ${{ !inputs.skip-lint }}
uses: ./.github/workflows/pipeline-electron-lint.yml
permissions:
contents: read
@@ -96,7 +96,7 @@ jobs:
# Docs Only Jobs
docs-only:
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
permissions:
contents: read
@@ -107,7 +107,7 @@ jobs:
# Checkout Jobs
checkout-macos:
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
permissions:
contents: read
@@ -119,7 +119,7 @@ jobs:
- /var/run/sas:/var/run/sas
env:
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:
build-image-sha: ${{ needs.setup.outputs.build-image-sha }}
steps:
@@ -132,12 +132,12 @@ jobs:
- name: Checkout & Sync & Save
uses: ./src/electron/.github/actions/checkout
with:
generate-sas-token: 'true'
generate-sas-token: "true"
target-platform: macos
checkout-linux:
needs: setup
if: ${{ !inputs.skip-linux}}
if: false # ${{ !inputs.skip-linux}}
runs-on: electron-arc-centralus-linux-amd64-32core
permissions:
contents: read
@@ -150,7 +150,7 @@ jobs:
env:
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
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 }}
outputs:
build-image-sha: ${{ needs.setup.outputs.build-image-sha}}
@@ -181,9 +181,9 @@ jobs:
env:
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
CHROMIUM_GIT_COOKIE_WINDOWS_STRING: ${{ secrets.CHROMIUM_GIT_COOKIE_WINDOWS_STRING }}
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_win=True'
TARGET_OS: 'win'
ELECTRON_DEPOT_TOOLS_WIN_TOOLCHAIN: '1'
GCLIENT_EXTRA_ARGS: "--custom-var=checkout_win=True"
TARGET_OS: "win"
ELECTRON_DEPOT_TOOLS_WIN_TOOLCHAIN: "1"
outputs:
build-image-sha: ${{ needs.setup.outputs.build-image-sha}}
steps:
@@ -196,12 +196,13 @@ jobs:
- name: Checkout & Sync & Save
uses: ./src/electron/.github/actions/checkout
with:
generate-sas-token: 'true'
generate-sas-token: "true"
target-platform: win
# GN Check Jobs
macos-gn-check:
uses: ./.github/workflows/pipeline-segment-electron-gn-check.yml
if: false
permissions:
contents: read
needs: checkout-macos
@@ -217,7 +218,7 @@ jobs:
permissions:
contents: read
needs: checkout-linux
if: ${{ needs.setup.outputs.src == 'true' }}
if: false # ${{ needs.setup.outputs.src == 'true' }}
with:
target-platform: linux
target-archs: x64 arm arm64
@@ -241,6 +242,7 @@ jobs:
# Build Jobs - These cascade into testing jobs
macos-x64:
if: false
permissions:
contents: read
issues: read
@@ -255,11 +257,12 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
enable-ssh: ${{ inputs.enable-ssh || false }}
secrets: inherit
macos-arm64:
if: false
permissions:
contents: read
issues: read
@@ -274,7 +277,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
enable-ssh: ${{ inputs.enable-ssh || false }}
secrets: inherit
@@ -285,7 +288,7 @@ jobs:
pull-requests: read
uses: ./.github/workflows/pipeline-electron-build-and-test-and-nan.yml
needs: checkout-linux
if: ${{ needs.setup.outputs.src == 'true' }}
if: false # ${{ needs.setup.outputs.src == 'true' }}
with:
build-runs-on: electron-arc-centralus-linux-amd64-32core
test-runs-on: electron-arc-centralus-linux-amd64-4core
@@ -296,7 +299,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
secrets: inherit
linux-x64-asan:
@@ -306,7 +309,7 @@ jobs:
pull-requests: read
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
needs: checkout-linux
if: ${{ needs.setup.outputs.src == 'true' }}
if: false # ${{ needs.setup.outputs.src == 'true' }}
with:
build-runs-on: electron-arc-centralus-linux-amd64-32core
test-runs-on: electron-arc-centralus-linux-amd64-4core
@@ -317,7 +320,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
is-asan: true
secrets: inherit
@@ -328,7 +331,7 @@ jobs:
pull-requests: read
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
needs: checkout-linux
if: ${{ needs.setup.outputs.src == 'true' }}
if: false # ${{ needs.setup.outputs.src == 'true' }}
with:
build-runs-on: electron-arc-centralus-linux-amd64-32core
test-runs-on: electron-arc-centralus-linux-arm64-4core
@@ -339,7 +342,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
secrets: inherit
linux-arm64:
@@ -349,7 +352,7 @@ jobs:
pull-requests: read
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
needs: checkout-linux
if: ${{ needs.setup.outputs.src == 'true' }}
if: false # ${{ needs.setup.outputs.src == 'true' }}
with:
build-runs-on: electron-arc-centralus-linux-amd64-32core
test-runs-on: ubuntu-22.04-arm
@@ -360,7 +363,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
secrets: inherit
windows-x64:
@@ -379,7 +382,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
secrets: inherit
windows-x86:
@@ -398,7 +401,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
secrets: inherit
windows-arm64:
@@ -417,7 +420,7 @@ jobs:
is-release: false
gn-build-type: testing
generate-symbols: false
upload-to-storage: '0'
upload-to-storage: "0"
secrets: inherit
gha-done:
@@ -425,7 +428,19 @@ jobs:
runs-on: ubuntu-latest
permissions:
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')
steps:
- name: GitHub Actions Jobs Done

View File

@@ -5,57 +5,57 @@ on:
inputs:
target-platform:
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
target-arch:
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
build-runs-on:
type: string
description: 'What host to run the build'
description: "What host to run the build"
required: true
test-runs-on:
type: string
description: 'What host to run the tests on'
description: "What host to run the tests on"
required: true
build-container:
type: string
description: 'JSON container information for aks runs-on'
description: "JSON container information for aks runs-on"
required: false
default: '{"image":null}'
test-container:
type: string
description: 'JSON container information for testing'
description: "JSON container information for testing"
required: false
default: '{"image":null}'
is-release:
description: 'Whether this build job is a release job'
description: "Whether this build job is a release job"
required: true
type: boolean
default: false
gn-build-type:
description: 'The gn build type - testing or release'
description: "The gn build type - testing or release"
required: true
type: string
default: testing
generate-symbols:
description: 'Whether or not to generate symbols'
description: "Whether or not to generate symbols"
required: true
type: boolean
default: false
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
type: string
default: '0'
default: "0"
is-asan:
description: 'Building the Address Sanitizer (ASan) Linux build'
description: "Building the Address Sanitizer (ASan) Linux build"
required: false
type: boolean
default: false
enable-ssh:
description: 'Enable SSH debugging'
description: "Enable SSH debugging"
required: false
type: boolean
default: false
@@ -84,6 +84,7 @@ jobs:
enable-ssh: ${{ inputs.enable-ssh }}
secrets: inherit
test:
if: false
uses: ./.github/workflows/pipeline-segment-electron-test.yml
permissions:
contents: read