Builds for JCef
Go to file
2025-02-21 09:25:50 +01:00
.github/workflows Update build-macosx-arm64.yml 2025-02-21 09:25:50 +01:00
entitlements Update entitlements 2022-03-22 09:41:35 +01:00
jcef Add template jcef dir 2021-10-25 12:56:14 +02:00
natives Add natives for linux arm builds to repository 2021-11-22 11:20:34 +01:00
patch Proper cmake patching 2021-11-24 00:01:10 +01:00
release_gen Remove linux 386 due to dropped support in chromium 104 and upwards 2022-08-26 20:58:46 +02:00
scripts Update install_macos_dependencies.sh 2024-01-16 15:51:53 +01:00
.gitignore Unify build directory structure for local builds 2021-12-29 19:54:20 +01:00
compile_linux.sh Check folder existence before moving 2023-10-06 13:20:21 +02:00
compile_macosx.sh Update compile_macosx.sh 2023-12-08 13:47:04 +01:00
compile_windows.bat Change workdir to script directory on all platforms 2021-11-23 23:02:31 +01:00
DockerfileLinux Only export binary distribution due to disk space of github runners 2023-10-06 12:39:52 +02:00
DockerfileLinuxARMPrebuild Delta builds for Linux and MacOSX (build in <2 min with docker) 2021-12-29 19:28:48 +01:00
DockerfileWindows Proper cmake patching 2021-11-24 00:01:10 +01:00
LICENSE Add license 2021-12-10 12:25:19 +01:00
macosx_codesign_zip.sh Fix entitlement location 2022-02-26 14:59:58 +01:00
macosx_codesign.sh No longer notarize the framework 2024-03-08 09:02:41 +01:00
macosx_notarize.sh Update macosx_notarize.sh 2024-01-16 19:07:35 +01:00
README.md Update macos build specs in readme 2022-11-01 06:50:48 +01:00

JCEF BUILD

build-all

Independent project to produce binary artifacts for the JCef project

Visit the JCEF repo at bitbucket or github
Consider using these builds with Maven or Gradle: jcefmaven

Build Specs:

linux
amd64, arm64 & arm
windows
amd64 & i386
windows
arm64
apple
amd64 & arm64
Java OpenJDK 11 Oracle JDK 8 Microsoft JDK 11 Temurin JDK 8
Compiler GCC 10 VS 2019 VS 2019 Xcode 13
Build Python 3.7; ninja Python 3.7; ninja Python 3.7; ninja Python 2.7; ninja; SDK10.13
Limitations - - No OSR mode (no Jogamp) Needs custom structure to run outside of a bundle

Downloading artifacts

You can find the most recent versions of the artifacts on the releases page of this repository.

Building your own projects

You have multiple options to build your own project using this repository. They are listed below.

Building another git repo using GitHub Actions

To build another git repo, simply fork this repository. Then go to the "Actions" tab of your forked repository, activate the workflows and manually run the build-all (or build-<platform>) workflow with your repository and commit id/branch specified. This will trigger a build of your desired repository and platforms. To produce a build for MacOS, you will need to specify your code signing information or remove the signing and notarization steps from the action workflows.

Required Actions Secrets for signing and notarization:

+APPLE_API_KEY_BASE64: Your API key to access the Apple Notarization Service (in base64) +APPLE_API_KEY_ISSUER: UUID of issuer (can be found along with your generated key in Apple Dev Console) +APPLE_API_KEY_NAME: The name to be used for your API key on the runner (can be random) +APPLE_API_KEY_ID: The ID of your key (10 digit code) +APPLE_BUILD_CERTIFICATE_BASE64: Base64 encoded pkcs12 certificate file from Apple to use for signing +APPLE_BUILD_CERTIFICATE_NAME: Your certificate name (usually starts with Developer ID Application) +APPLE_P12_PASSWORD: Password of your pkcs12 certificate file +APPLE_KEYCHAIN_PASSWORD: A random password to use for the keychain on the runner +APPLE_TEAM_NAME: Your apple team name, part of the certificate name (10 digit id in brackets)`

You can obtain the api key here (make sure key has developer access) and the certificate here (choose Developer ID Application).

Building locally

To build locally, put your sources in the jcef directory of this repository, or leave it empty to clone a repository. On Windows and Linux, make sure you installed docker (NOT the Snap version!). On MacOS, make sure you installed the build dependencies specified here and ninja.

Then execute compile-<os>.<sh|bat> <arch> <buildType> [<gitrepo> <gitref>]. Specify an architecture (docker architectures, see script source for options) and build type (Release or Debug). Optionally, you can specify a git repository and ref/branch to pull when no sources are present in the jcef folder.

Reporting bugs

Please only report bugs here that are related to the build process. Please report bugs in JCEF/CEF to the corresponding repository on Bitbucket.

Contributing

Feel free to open a pull request on this repository to improve its stability or artifact quality. Make sure to provide a valid GitHub Actions run for your pull requests to be accepted.