electron/script
Shelley Vohr b41da150ca
build: add GitHub Actions testing pipeline for macOS (#41812)
* build: test the Mac runner space

* build: baby steps, super basic checkout

* chore: simplify depot-tools

* build: try a sync

* build: fix path

* build: pass different URL for sync

* build: gclient sync with --verbose

* debug: add logging for mtime cache

* build: add psuedocode for Azure workflow, add workflow_dispatch

* build: enable ssh access to runners

* build: test azure upload without full sync

* build: full sync and cache upload test

* build (WIP): mock out download logic

* build: remove sync, try disk space prune

* build: lets try it again, lads

* ci: add cache downloading wip

* fix: correct json parsing

* chore: use depshash and fix output syntax

* chore: rework depshash state and delete more

* refactor: split checkout to Linux runner

* fix: depot_tools get on Linux

* fix: add infra/3pp/tools/swift-format handling

* chore: move to patch file in build as well

* chore: misc cleanup of env steps

* chore: add fix sync step

* build: use tar file, strip .git dirs

* build: set GIT_CACHE_PATH outside of src

* ci: fix cache prefix, add check for ssh debug

* fix: fix tar pack/unpack

* build: add reclient support & ninja build step

* chore: clean up reclient round 1

* fix: grab ELECTRON_RBE_JWT from secrets

* chore: run tmate if debug logging enabled

* chore: move ulimit setting

* fix: missing GN gen env vars

* fix: workaround packed-refs issue

* chore: fixup PATH usage

* chore: remove GIT_CACHE env var

* fix: call pack refs manually

* fix: add RBE_experimental_credentials_helper_args

* chore: whoops we need electron_node/deps/v8 actually

* fix: we need electron_node/deps/openssl too

* build: load build-tools & xcode

* build: add dist, chromedriver & mksnapshot

* build: add test job, download artifacts

* Cache non-generated build artifacts

* chore: set download path explicitly

* chore: load-xcode is called by e build

* Add codesigning certificate step

* Add Test Step

* Try without codesigning just to get tests running

* Add depot_tools to PATH in test

* Persist src/buildtools/mac

* chore: use script/yarn test directly

* Build Node.js Headers for caching

* Add initial matrix for mas build

* Fix GN_EXTRA_ARGS generation syntax

* Fix BUILD_TYPE interpolation

* Use matrix in test correctly

* feat: add publish config, alter release-build script

* build: force trigger the first workflow

* build: oops

* Ensure env vars escaped

* Move GN_EXTRA_ARGS to gn gen step

* chore: rename yml to match convention

* ci: fix helperPath calls in action configs

* chore: try setting directly

* fix: switch to mas config

* chore: Testing -> Default

* Re-enable darwin build

* Use mas JSON config

* refactor: extract artifact logic to bash scripts

* refactor: build MAS after darwin

* chore: move to script/actions

* chore: use Node.js 20.11.x

* Don't fail-fast in tests

* build: tweak release script

* build: remove macos-publish.yml

* build: change action to trigger on publish workflow dispatch

* chore: remove SSH debugging using action-tmate

* build: do not disable CircleCI config

* chore: switch away from cURL for AzureCLI

* chore: move evm.mas.json to .github/workflows/config

* chore: remove publish logic from initial build flow

* build: add patchup check for non-release builds

* build: pin build-tools to sha 2bb63e2

---------

Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
2024-04-24 10:29:19 -07:00
..
actions build: add GitHub Actions testing pipeline for macOS (#41812) 2024-04-24 10:29:19 -07:00
codesign refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
lib chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
release build: add GH Actions to release-build script (#41639) 2024-04-01 10:02:26 -04:00
zip_manifests chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
.eslintrc.json refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
add-debug-link.py chore: remove py2 compatibility code (#40375) 2023-11-01 10:20:32 -04:00
apply_all_patches.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
azure_cli_deb_install.sh build: add GitHub Actions testing pipeline for macOS (#41812) 2024-04-24 10:29:19 -07:00
check-patch-diff.ts chore: bump chromium to 121.0.6104.0 (main) (#40418) 2023-11-03 15:37:55 -04:00
check-symlinks.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
copy-debug-symbols.py chore: remove py2 compatibility code (#40375) 2023-11-01 10:20:32 -04:00
create-api-json.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
dbus_mock.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
doc-only-change.js ci: clean up docs only change logic (#38456) 2023-05-30 12:38:41 -04:00
download-circleci-artifacts.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
export_all_patches.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
gen-filenames.ts chore: remove node patches by using the preload feature (#41080) 2024-01-24 09:54:32 -06:00
gen-hunspell-filenames.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gen-libc++-filenames.js chore: bump chromium to 117.0.5938.0 (main) (#39375) 2023-08-15 10:49:41 -05:00
generate-config-gypi.py build: redundant regex character class in generate-config-gypi.py (#41858) 2024-04-15 11:33:55 -04:00
generate-deps-hash.js feat: I guess it's esm (#37535) 2023-08-30 17:38:07 -07:00
generate-version-json.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
generate-zip-manifest.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
generate_node_version_header.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
get-git-version.py build: allow overriding electron version (#39974) 2023-09-27 14:49:10 +09:00
git-export-patches build: export matching patches (#41174) 2024-02-08 13:47:59 -05:00
git-import-patches
gn-asar-hash.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gn-asar.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gn-check.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gn-plist-but-with-hashes.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
lint.js fix: EINVAL when spawning cmd files on Windows (#41893) 2024-04-19 09:27:58 -04:00
nan-spec-runner.js fix: EINVAL when spawning cmd files on Windows (#41893) 2024-04-19 09:27:58 -04:00
native-tests.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
node-disabled-tests.json chore: bump node to v20.12.2 (main) (#41710) 2024-04-17 12:39:13 -04:00
node-spec-runner.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
patches-mtime-cache.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
prepare-appveyor.js build: log got error response bodies (#40965) 2024-01-12 14:37:39 +01:00
push-patch.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
run-clang-format.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
run-clang-tidy.ts refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
run-gn-format.py
run-if-exists.js fix: EINVAL when spawning cmd files on Windows (#41893) 2024-04-19 09:27:58 -04:00
setup-win-for-dev.bat chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
spec-runner.js fix: EINVAL when spawning cmd files on Windows (#41893) 2024-04-19 09:27:58 -04:00
start.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
strip-binaries.py chore: remove py2 compatibility code (#40375) 2023-11-01 10:20:32 -04:00
sysroots.json chore: bump chromium to 117.0.5938.0 (main) (#39375) 2023-08-15 10:49:41 -05:00
tar.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
verify-chromedriver.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
verify-ffmpeg.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
verify-mksnapshot.py chore: bump pylint to 2.17 (#41576) 2024-03-21 09:48:23 -04:00
yarn.js fix: EINVAL when spawning cmd files on Windows (#41893) 2024-04-19 09:27:58 -04:00
zip-symbols.py chore: remove py2 compatibility code (#40375) 2023-11-01 10:20:32 -04:00