build: add needed steps/tweaks to Linux publish job (#42477)
* build: add libcxx to Linux publish * build: temp change ref to branch * build: remove hunspell dictionaries * build: modify release build script for linux * build: switch back to main
This commit is contained in:
parent
5abefc5dc3
commit
a4f201a5f3
3 changed files with 6 additions and 8 deletions
11
.github/workflows/linux-pipeline.yml
vendored
11
.github/workflows/linux-pipeline.yml
vendored
|
@ -385,16 +385,13 @@ jobs:
|
||||||
cd src
|
cd src
|
||||||
gn gen out/ffmpeg --args="import(\"//electron/build/args/ffmpeg.gn\") use_remoteexec=true $GN_EXTRA_ARGS"
|
gn gen out/ffmpeg --args="import(\"//electron/build/args/ffmpeg.gn\") use_remoteexec=true $GN_EXTRA_ARGS"
|
||||||
autoninja -C out/ffmpeg electron:electron_ffmpeg_zip -j $NUMBER_OF_NINJA_PROCESSES
|
autoninja -C out/ffmpeg electron:electron_ffmpeg_zip -j $NUMBER_OF_NINJA_PROCESSES
|
||||||
- name: Generate Hunspell Dictionaries
|
- name: Maybe Generate Libcxx
|
||||||
if: ${{ inputs.is-release }}
|
if: ${{ inputs.is-release }}
|
||||||
run: |
|
run: |
|
||||||
cd src
|
cd src
|
||||||
autoninja -C out/Default electron:hunspell_dictionaries_zip -j $NUMBER_OF_NINJA_PROCESSES
|
autoninja -C out/Default electron:libcxx_headers_zip -j $NUMBER_OF_NINJA_PROCESSES
|
||||||
- name: Generate TypeScript Definitions
|
autoninja -C out/Default electron:libcxxabi_headers_zip -j $NUMBER_OF_NINJA_PROCESSES
|
||||||
if: ${{ inputs.is-release }}
|
autoninja -C out/Default electron:libcxx_objects_zip -j $NUMBER_OF_NINJA_PROCESSES
|
||||||
run: |
|
|
||||||
cd src/electron
|
|
||||||
node script/yarn create-typescript-definitions
|
|
||||||
- name: Publish Electron Dist
|
- name: Publish Electron Dist
|
||||||
if: ${{ inputs.is-release }}
|
if: ${{ inputs.is-release }}
|
||||||
run: |
|
run: |
|
||||||
|
|
2
.github/workflows/linux-publish.yml
vendored
2
.github/workflows/linux-publish.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
||||||
required: false
|
required: false
|
||||||
default: '1'
|
default: '1'
|
||||||
type: string
|
type: string
|
||||||
run-macos-publish:
|
run-linux-publish:
|
||||||
description: 'Run the publish jobs vs just the build jobs'
|
description: 'Run the publish jobs vs just the build jobs'
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
|
@ -33,6 +33,7 @@ const circleCIPublishIndividualArches = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const ghActionsPublishWorkflows = [
|
const ghActionsPublishWorkflows = [
|
||||||
|
'linux-publish',
|
||||||
'macos-publish'
|
'macos-publish'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue