Commit Graph

16 Commits

Author SHA1 Message Date
Rudra Sen 6c9d40a9b9
chore: Upgrade CI Dependencies to Latest Version (#758)
* chore(ci): upgrade Github actions to latest version

Upgrading CI Dependencies to Latest Version. Tested and Verified.
2022-07-04 08:01:34 +02:00
Christoph Settgast d43e0069d0
ci(mac): fix sign & notarize setup (#717) 2022-02-18 07:32:23 +01:00
Christoph Settgast 107f3c19c4
ci: switch to clean-install (#714)
Detects if package-lock.json is no longer in sync with package.json and
ensures that build is reproducible by only relying on package-lock.json
2022-02-16 23:56:06 +01:00
Christoph Settgast 57b4545fe3 ci(mac): run prep step if secret is set 2022-01-11 20:14:39 +01:00
Christoph Settgast 7c30eb5c87 Revert "ci(mac): directly set env vars based on secrets (#697)"
This reverts commit f91287a369.
2022-01-11 20:11:28 +01:00
Christoph Settgast f91287a369
ci(mac): directly set env vars based on secrets (#697)
Then they are only set to something meaningful if they are present,
so same logic as before, just a bit cleaner and better working for downstream
forks which dont need mac signed builds.
2022-01-05 11:26:45 +01:00
csett86 e5a93e89e4
ci: archive binaries after build (#671) 2021-11-27 08:46:38 +01:00
csett86 4237c5d1a5
ci: simplify thanks to prebuilds (#666)
ci: simplify thanks to prebuilds

as robotjs and @jitsi/electron-sdk have prebuilds, no need for build
tools here
2021-11-16 22:38:33 +01:00
csett86 ca21b040c4
Update jitsi-meet-electron-utils to electron 14+ compatible version (#655)
Replaced all remote module usages
Updated robotjs to context-aware fork
Updated node-gyp on windows to get it compiling again
2021-11-06 13:42:54 +01:00
csett86 ae306f5c5d
mac: Enable autoupdate by sign and notarize via github action (#581)
mac: Enable autoupdate by sign and notarize via github action

Signed and notarized binaries are the precondition for autoupdates on
mac. Additionally Gatekeeper on 10.15+ is happy and allows to open the
app instead of blocking it.

The notarize step is added unconditionally, as it only emits a warning if
the notarization API key is not set, but it does not break the build.

This is an upstreaming of https://github.com/csett86/jitsi-meet-electron
where it worked since March 2020.

On CI, only sign if not triggered by pull request, as these will fail (as secrets
are not available to pull request builds).

The required github secrets (signing key, cert and notarize API login, password and team id) are:

Signing

Open the Keychain Access app. Export all certificates (Developer ID Certificate) related to your app into a single file (e.g. certs.p12) and set a strong password.

Base64-encode your certificates using the following command: base64 -i certs.p12 -o encoded.txt

In the GitHub repository, go to Settings → Secrets and add the following two variables:

    mac_certs: Your base64 encoded certificates, i.e. the content of the encoded.txt file you created before
    mac_certs_password: The password you set when exporting the certificates

Notarization

Create an app-specific password for your apple id: https://support.apple.com/de-de/HT204397

In the GitHub repository, go to Settings → Secrets and add the following three variables:

    apple_id: your apple id
    apple_id_password: the just created app-specific password for your apple id
    team_id: your team short name: https://github.com/electron/electron-notarize#notes-on-your-team-short-name

Co-authored-by: Saúl Ibarra Corretgé <s@saghul.net>
2021-11-04 22:29:34 +01:00
Saúl Ibarra Corretgé 6a60a6d8cd Update CI to use Node 16 / npm 8 2021-11-02 12:44:47 +01:00
csett86 6cb32ec7e6
ci: move to macOS 11 and 20.04 (#651)
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-11-02 07:12:48 +01:00
csett86 83b489325d
chore(deps): update electron-builder to 22.11.11 and move to node 14(#583)
electron-builder 22.11.0+ requires node 14, so update node 12 -> node 14
as well.

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-10-17 20:56:25 +02:00
Saúl Ibarra Corretgé c16bcb8e89 Run CI when pushing a tag 2021-03-24 21:30:14 +01:00
Saúl Ibarra Corretgé 89221a6954 Use GH Actions as the only CI 2021-03-24 00:20:51 +01:00
Saúl Ibarra Corretgé d925695928 Add GH Action to run the linter 2020-07-02 08:51:34 +02:00