Commit Graph

242 Commits

Author SHA1 Message Date
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
Mazen El-Kashef
73c7a637a0 re-enable the bootstrap cache on macOS CI 2020-07-16 12:50:43 -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 El-Kashef
a8047f889b back to electron 6 2020-05-20 00:54:26 -05:00
Mazen El-Kashef
9dcac63419 Upgrade npm 2020-05-20 00:44:18 -05:00
Mazen El-Kashef
7389cff85c check out build on electron 7 2020-05-20 00:41:32 -05:00
Mazen El-Kashef
397afdeca0 Fix node versioin 2020-05-19 23:37:57 -05:00
Mazen El-Kashef
ffb34f3d7e disable cache save 2020-05-19 19:09:10 -05:00
Mazen El-Kashef
1c5bf90647 update npm path 2020-05-19 17:35:46 -05:00
Mazen El-Kashef
ad3c1fad11 debug npm upgrade fail 2020-05-19 17:17:16 -05:00
Mazen El-Kashef
5562f5f1af Update macos.yml 2020-05-19 17:06:08 -05:00
Mazen El-Kashef
237d3eec6d install npm 2020-05-19 16:58:19 -05:00
Mazen El-Kashef
0c25fdeebf try removing npm upgrade in mac job 2020-05-19 16:47:53 -05:00
Mazen El-Kashef
ed8f4f9d51 Update npm version 2020-05-19 16:28:35 -05:00
Mazen El-Kashef
9e01d5ac3b electron 6 again and bump node to 12.4.0 2020-05-19 16:06:38 -05:00
Darangi
df36a205e7 set windows NPM_BIN_PATH path correctly 2020-03-11 20:17:21 +01:00
Darangi
bde2fe82f0 Merge branch 'master' of https://github.com/atom/atom into electron-upgrade 2020-03-11 18:11:48 +01:00
Mazen El-Kashef
667c73a713 Upgrade to widows image to vs2017-win2016 2020-03-10 11:26:17 -05:00
Mazen El-Kashef
ffb31c4c64 Merge pull request #20456 from atom/upgrade-azure-macos-image-version
Bump Azure Devops Mac images to version 10.14
2020-03-04 07:53:55 -05:00
Mazen El-Kashef
8247bc0e4e Bump images to version 10.14 2020-02-28 15:07:32 -05:00
Darangi
bcbf7c6343 Removed script to build native modules 2020-02-28 11:57:35 +01:00
Darangi
1fec04a2d0 build native module 2020-02-28 11:38:29 +01:00
Mazen El-Kashef
4f231cf0a3 cleaning up 2020-02-27 23:15:45 -05:00
Mazen El-Kashef
bc8b84b5e3 pass env variables to the notarize script 2020-02-26 15:41:11 -05:00
Mazen El-Kashef
7124233ea3 check macos sdk version 2020-02-25 02:15:22 -05:00
Mazen El-Kashef
ca7170b76b fix macos yaml 2020-02-25 02:02:24 -05:00
Mazen El-Kashef
a534190de7 Double check the version of mac and xcode 2020-02-25 02:00:17 -05:00
Mazen El-Kashef
e2c1596049 upgrade macos version to 10.14 majove 2020-02-24 21:30:23 -05:00
Mazen El-Kashef
a0cabdaade disable release step to avoid releasing this 2020-02-20 11:40:58 -05:00
Darangi
13535e4940 removed apm command from yml config 2020-02-17 17:35:09 +01:00
Darangi
6f1d9e568e install locked dependencies 2020-02-17 17:20:32 +01:00
Darangi
1b0487455b uncommented caching command in yml files 2020-02-13 19:00:42 +01:00
Mazen El-Kashef
e897ae2007 revert notarization 2020-02-07 15:08:55 -05:00
Darangi
220d9c39e3 Added npm_config_build_from_source variable to yaml config. 2020-01-30 23:01:07 +01:00
Darangi
2406f2c66b removed caching 2020-01-30 19:04:58 +01:00
Mazen El-Kashef
135e64f9e2 Remove entitlement allow-jit and Downgrade CI to MacOS 10.13 2020-01-24 05:10:22 -05:00
Mazen El-Kashef
2073e2e917 Pass notarization credentials to the build script 2020-01-24 03:30:45 -05:00
Mazen El-Kashef
9616bb2eb0 Upgrade macos image to Majove to support notarization 2020-01-24 01:54:09 -05:00
Darangi
d3ada54531 removed --no-sandbox flag 2020-01-08 17:48:54 +01:00
Darangi
18da630975 added sudo to chmod 2020-01-07 20:59:14 +01:00
Darangi
7e24756a3d added sudo to chmod command 2020-01-07 18:56:59 +01:00
Darangi
d9eb0bb3e6 edited chrome sandbox path 2020-01-07 18:20:05 +01:00
Darangi
cc193b0123 get chrome-sandbox path 2020-01-07 17:27:49 +01:00
Darangi
b463ed2551 chrome-sandbox-file 2020-01-07 13:40:00 +01:00
Darangi
f73e465463 added --no-sandbox flag 2020-01-07 11:43:33 +01:00