Commit Graph

1753 Commits

Author SHA1 Message Date
Amin Yahyaabadi
f17abf5fb6 macos-build.yml 2020-08-29 07:23:18 -05:00
Amin Yahyaabadi
2e04b9bd66 windows-build.yml 2020-08-29 07:14:38 -05:00
DeeDeeG
c79d2adbe0 CI: Restore caches in sync
Track the same files for restoring all three caches.
Either they all get restored, or none of them do.

Stop tracking apm/package-lock.json, as it hasn't been stable lately.

Start tracking script/vsts/platforms/templates/preparation.yml,
because that's where Node and npm bumps and so on live.
2020-08-28 23:19:03 +03:00
sadick254
46ef8d5733 Use npm install 2020-08-28 22:47:45 +03:00
Amin Yahyaabadi
57f1ae657c CI bootstrap template
* windows-bootstrap.yml

* macos-bootstrap.yml

* linux-bootstrap.yml

* combine bootstrap for all OS

* GitHub token in bootstrap.yml

* Use pwsh in bootstrap.yml

* Linux use Clang 9 in bootstrap

* bootstrap: using pwsh for managing env variables

* fix bootstrap condition indentation

* using AGENT_OS directly bootstrap
2020-08-28 17:25:10 +03:00
Amin Yahyaabadi
00263f8909 CI preparation template
Use azure templates.
2020-08-27 14:58:11 +03:00
DeeDeeG
2f550cf0d3 CI: Use Cache@2 task in place of the old SaveCache@1 (#21057)
* CI: Use Cache@2 task in place of SaveCache@1

This is the officially supported successor to the old,
unofficial, Microsoft-DevLabs-hosted cache task.

It is simpler/easier to configure, and thus more friendly to forks.
2020-08-26 17:38:19 +03:00
Amin Yahyaabadi
43e4929ba8 add should sign and make code-signing conditional 2020-08-24 21:54:52 +03:00
DeeDeeG
c087fcfb49 CI: Use npm ci rather than npm install
`npm ci` doesn't try to reconcile package.json with package-lock.json,
nor with any existing packages in `node_modules`. `npm ci` simply
deletes `node_modules` and uses the packages from `package-lock.json`.

As a result, `npm ci` is much, much faster than `npm install`.
We should use it wherever possible.
2020-08-21 21:19:49 +03:00
DeeDeeG
8dc526bf24 CI: Use 'ubuntu-latest' to upload artifacts
This should be marginally faster. No need to run on Windows.
2020-08-21 21:19:49 +03:00
DeeDeeG
0ac3be7296 CI: Use 'ubuntu-latest' for GetReleaseVersion
Ubuntu is much faster than Windows at installing many small files,
such as during `git clone` and `npm install`.
2020-08-21 21:19:49 +03:00
DeeDeeG
f062a836e7 CI: Use forward-slashes in paths (cross-platform)
Backslashes ("\") can be interpreted as escape characters
on Unix (Linux, macOS). Replace with forward-slashes, "/",
which are interpreted the same (as directory separators) on all OSes,
at least in arguments to commands such as `cd` and `node`.
2020-08-21 21:19:49 +03:00
Musa Ibrahim
50a74a5e31 Merge pull request #21079 from atom/electron-6.1.12-bump-electron-packager-from-git
Electron 6 Take Two
2020-08-20 10:16:38 +01:00
sadick254
0b541e9120 Show approriate error when running test without building 2020-08-12 21:02:47 +03:00
Mazen Elkashef
212081ea45 Merge pull request #20212 from sharedprophet/support-semanticolor
Support semanticolor
2020-08-11 00:12:49 -05:00
Mazen El-Kashef
73c7a637a0 re-enable the bootstrap cache on macOS CI 2020-07-16 12:50:43 -05:00
Mazen El-Kashef
c6058e9600 local bootstrap 2020-07-16 11:33:36 -05:00
Mazen El-Kashef
4bdeb86c83 Merge branch 'master' into electron-6.1.12-bump-electron-packager-from-git 2020-07-16 11:18:24 -05:00
Mazen Elkashef
d840b89e62 Merge pull request #20856 from DeeDeeG/misc-python3-fixes
Miscellaneous python3-related updates and fixes
2020-07-10 14:01:20 -05:00
DeeDeeG
fef2de59a4 node-gyp 5.x still accepts Python 2.6 2020-07-10 11:58:17 -04:00
Amin Yahyaabadi
f79dd596ce no PR triggers on release builds 2020-07-09 23:14:12 -05:00
Mazen El-Kashef
bc952d5a3f Bump electron-packager@15.0.0 2020-07-03 12:09:24 -05:00
Mazen El-Kashef
b23b30d395 Bump electron-link@0.4.3 2020-07-03 12:05:21 -05:00
darangi
9140f6501b tests 2020-07-03 14:40:40 +01:00
darangi
f936328a73 update nightly job 2020-07-01 07:49:30 +01:00
darangi
b922fba627 missing files 2020-06-29 13:42:52 +01:00
darangi
bbf874fff9 added tests 2020-06-29 13:37:17 +01:00
darangi
f9a9e57d3a Revert "init"
This reverts commit 20d5d21775.
2020-06-26 15:59:54 +01:00
darangi
fb2654eaac Revert "removed unused code"
This reverts commit e79a71c6dc.
2020-06-26 15:48:26 +01:00
darangi
e79a71c6dc removed unused code 2020-06-24 16:28:08 +01:00
darangi
c3d16f02c5 changed remote 2020-06-24 01:31:12 +01:00
darangi
230df78ac3 added git config 2020-06-24 01:00:52 +01:00
darangi
49145f1caf apm install 2020-06-24 00:36:19 +01:00
darangi
1e2178e46c used current branch 2020-06-23 09:47:21 +01:00
darangi
2c1935c07a added bootstrap script 2020-06-23 09:28:52 +01:00
darangi
f3eb4afcfe fixed yaml error 2020-06-23 09:15:49 +01:00
darangi
72a0b81d50 added job to nightly 2020-06-22 21:25:46 +01:00
darangi
706fac34a0 return needed objects 2020-06-22 21:25:28 +01:00
darangi
0880b20b1e improved module search in package.json 2020-06-19 12:54:25 +01:00
darangi
c14f6df47c add label to PR and log summary 2020-06-18 23:26:46 +01:00
musa ibrahim
4049c635ab publish local branch and delete 2020-06-18 11:20:40 +01:00
Musa Ibrahim
20d5d21775 init
fixed search regex

removed NPM check

handle pr

installed dependencies

publish branch and create PR

catch apm error

pr

deactivated token and used env variable instead

some fixes
2020-06-18 01:07:51 +01:00
DeeDeeG
f8fecadcbb script: Refactor variable use in verifyPython() 2020-06-17 16:43:38 -04:00
DeeDeeG
dc44ad2d16 script: Update comment in verifyPython() 2020-06-17 16:33:58 -04:00
DeeDeeG
1cef4dd442 ⬆️ electron-packager to git master 2020-06-16 14:27:31 -04:00
Ethan Johnson
3191997c87 add test 2020-06-15 12:12:02 -05:00
DeeDeeG
39d2bd4800 Merge branch 'master' into electron-6.1.12 2020-06-07 13:34:38 -04:00
DeeDeeG
bb2cfa9555 script: Update comments for node-gyp 7.0 release 2020-06-03 20:54:50 -04:00
DeeDeeG
8965d32bcb script: Use "let" not "var" in verifyPython() 2020-06-03 17:03:40 -04:00
DeeDeeG
b1288ca7bb script: correct failure logging in verifyPython()
Make sure a previously found version isn't erroneously logged,
by clearing the "fullVersion" variable before each new check.
2020-06-03 16:28:41 -04:00