Commit graph

32 commits

Author SHA1 Message Date
Michael Telatynski
15914b54d8
Switch to M1 runner for macOS builds (#1472) 2024-01-31 13:05:08 +00:00
renovate[bot]
dd5b17b6a4
Update actions/cache action to v4 (#1457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 20:03:17 +00:00
Michael Telatynski
efde228da6
Add knip unused code & dependency analyser (#1441) 2024-01-18 10:10:51 +00:00
Michael Telatynski
b479798f42
Burn Node-related Electron fuses as a proactive hardening measure (#1412)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Valere <valeref@matrix.org>
2024-01-09 15:56:04 +00:00
Michael Telatynski
69da4935b9
Switch to artifact-v4 and move packages.element.io packing to deploy workflow (#1411) 2024-01-08 12:40:59 +00:00
Michael Telatynski
6617b29028
Move electron-builder config to javascript file (#1402) 2024-01-03 16:29:48 +00:00
renovate[bot]
5f722691e7
Update actions/setup-node action to v4 (#1404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:37:20 +00:00
renovate[bot]
b48524698f
Update actions/checkout action to v4 (#1406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:24:45 +00:00
Michael Telatynski
058bb09bf4
Revert "Upgrade to {upload,download}-artifact@v4 for better performance" (#1396) 2023-12-20 10:01:54 +00:00
Michael Telatynski
de503fa72c
Upgrade to {upload,download}-artifact@v4 for better performance (#1390) 2023-12-19 16:12:07 +00:00
Michael Telatynski
b2b7bcb5af
Workaround for macos-latest switching to Python 3.12 (#1328) 2023-11-13 12:03:37 +00:00
Michael Telatynski
bc97be9ab7
Stop using abandoned actions-rs/toolchain action (#1132) 2023-08-02 14:34:38 +01:00
renovate[bot]
10369e7028
Update actions-rs/toolchain digest to 88dc235 (#965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 16:32:45 +00:00
Michael Telatynski
d8f5cdb40d
Specify hashes for github actions (#634) 2023-05-09 12:01:35 +01:00
Michael Telatynski
7b0040063b
Improve cache busting to consider the build scripts themselves (#633) 2023-04-26 15:04:17 +01:00
Michael Telatynski
b6815b2731
Exclude some artifacts from PR builds (#891) 2023-04-24 12:24:36 +01:00
Michael Telatynski
5bd1c663e2
Use frozen lockfile instead of pure lockfile on yarn install (#605) 2023-03-31 15:17:43 +00:00
Michael Telatynski
c10e666dad
Ship linux tarball with static sqlcipher (#597) 2023-03-31 11:00:30 +01:00
Michael Telatynski
1654030c5f
Iterate ARM support in CI (#587) 2023-03-23 13:22:29 +00:00
Michael Telatynski
204945299e
Use notarize support built into electron-builder (#558) 2023-03-22 09:40:39 +00:00
Michael Telatynski
126d2c336b
Assert release & nightly builds are signed, notarised & accessible before deployment (#559) 2023-03-06 08:56:49 +00:00
Michael Telatyński
f79713980a
Update build_macos.yaml 2023-02-27 09:45:54 +00:00
Michael Telatynski
a0a9ec830c
Build & EV Sign Windows builds (#517
* Add way to provide apple ID and app password to notarise script

* Add utility to generate electron-builder.json for release & nightly builds

* Run Build & Test on staging too

* First attempt at build & deploy for macOS with signing and notarisation

* Fix quote mismatch

* use correct quotes

* add runs-on

* Fix inputs.mode usage

* remove quotes

* chmod +x

* Fix artifact paths

* Fix deploy condition

* Fix deploy condition

* Fix artifact path

* Iterate

* Fix workflow

* Fix env

* Iterate

* Fix missing env

* Fix version calculation

* Iterate

* Fix config not taking effect

* Update build_and_deploy.yaml

* Fix alignments

* delint

* Fix alignment

* Update build_macos.yaml

* Add ability to EV sign using eSigner CKA

* Initial work to build & sign Windows nightlies in CI

* Format

* Format

* Fix gha

* fix winSign

* Fix install command

* Add signtool to path

* Update build_and_deploy.yaml

* Fix quotes

* Test

* Fix comments

* Fix cmd

* Try again

* arg slashes

* Fix exe path

* Fix matrix strategy

* Use ampersand-call

* fwd slash ftw?

* ls *

* 🌲

* tree dist

* prepend path

* Specify /fd and /td to modern signtool

* /tr not /t for CKA

* Test signing

* missing comma

* 🤦‍♂️

* Fix wrong mv

* Lets sign

* Fix config gen

* Debug

* Fix typo

* Multiple drives why

* Try NVL sandbox creds

* Update

* Attempt to disable logger

* Try again

* Iterate

* Update build_macos.yaml

* Update build_and_deploy.yaml

* Update build_macos.yaml

* Update build_and_deploy.yaml

* Update build_and_deploy.yaml

* Try custom build of eSigner CKA

* Fix typos

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Fix symlinking

* Fix working-directory incantation

* exe

* remove debug

* Prettier

* Vendor check in SSL.com executable

* Download CKA from packages.element.io instead

* Use demo creds

* StrictMode

* Switch back to 0207 (unsigned)

* Fix call syntax

* Revert env inc

* Partial rollback

* Trace

* Trace less

* Fix CN being passed wrong

* DEBUG

* Debug 2

* Fix ConvertFrom-StringData

* 0214

* Test

* Test

* Untested

* Revert to 0207

* stash

* Try with 20230221

* Restore scripts/electron_winSign.js

* Prepare for merge

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Restore .github/workflows/build_and_deploy.yaml

* Restore .github/workflows/build_and_deploy.yaml

* Fix bad restore
2023-02-22 13:51:19 +00:00
Michael Telatynski
c1dd1dc73c
Fix macos release symlinking (#543) 2023-02-13 10:01:11 +00:00
Michael Telatynski
47165ca73d
Update build_macos.yaml 2023-01-31 16:10:51 +00:00
Michael Telatynski
66d96fea2c
Update build_macos.yaml 2023-01-31 15:49:41 +00:00
Michael Telatynski
3330b8485c
Update build_macos.yaml 2023-01-31 13:55:09 +00:00
Michael Telatynski
e5117f9736
Build, Sign & Notarise macOS builds (#486) 2023-01-31 13:22:30 +00:00
Andy Balaam
0faac52dae Format all files with prettier 2022-12-15 11:52:12 +00:00
Michael Telatynski
2f48519dce
Improve build time in CI through caching native modules (#482)
* Improve caching of hak native modules

* Avoid double-hashing

* Skip native installs where cache is hit

* Include Electron version in the hash, it affects the ABI

* Add missing step IDs

* Add comments
2022-12-13 14:12:40 +00:00
Michael Telatynski
d45b3aac65
Improve workflow reuse (#452) 2022-11-14 11:09:07 +00:00
Michael Telatynski
1e6a3ceebd
Improve CI stability and tidy it up (#451) 2022-11-11 15:15:21 +00:00