aboutsummaryrefslogtreecommitdiff
path: root/scripts/bundle.lua
Commit message (Collapse)AuthorAgeFilesLines
* fix casing of windows OidcToken.exe (#830)Dan Engelbrecht4 days1-1/+1
|
* fix OidcToken casing (#826)Stefan Boberg5 days1-2/+2
| | | fixes issue with zip not finding the OidcToken file
* oidctoken tool package (#810)Stefan Boberg11 days1-4/+7
| | | | | * added OidcToken binary to the build process. The binary is mirrored from p4 and is placed next to the output of the build process. It is also placed in the release zip archives. * also fixed issue with Linux symbol stripping which was introduced in toolchain changes yesterday
* native xmake toolchain definition for UE-clang (#805)Stefan Boberg12 days1-0/+10
| | | | | | | | | | | | | | | This change is meant to provide a smoother experience when working on Linux. After this change, the toolchain setup process is now simply ```bash $ scripts/ue_build_linux/get_ue_toolchain.sh ``` and then at config time the toolchain is automatically detected if you downloaded it to the default location or have the `UE_TOOLCHAIN_DIR` environment variable set ```bash xmake config --mode=debug ``` Compared to the old script-based approach this configures the toolchain more precisely, avoiding leakage into unrelated build processes such as when a package manager decides to build something like Ninja locally etc.
* bump sentry to 0.12.1 (#721)Stefan Boberg2026-02-121-1/+2
|
* sentry/asan configuration tweaks (#649)v5.7.10-pre0Stefan Boberg2025-11-131-0/+1
| | | | | * Automated more of the decisions around which options to set when using ASAN * Also disabled Sentry by default as it's a bit annoying to have it upload crashes during development. Sentry is still automatically enabled and integrated as part of the `xmake bundle` step however so released builds will still have it.
* switch back to openssl on Mac (#641)Stefan Boberg2025-11-101-1/+1
| | | | | | | * switch back to openssl for Mac (fixes cross-compilation config) * add openssl 3.6.0 and change make target to install_dev for quicker install * disable LTO on Mac to reduce build time on openssl3 * add mbedTLS 3.6.5 (but this is not used anywhere right now)
* switch to xmake for package management (#611)Stefan Boberg2025-11-071-42/+15
| | | | | | | | | | | | | | | | | | | | | | This change removes our dependency on vcpkg for package management, in favour of bringing some code in-tree in the `thirdparty` folder as well as using the xmake build-in package management feature. For the latter, all the package definitions are maintained in the zen repo itself, in the `repo` folder. It should now also be easier to build the project as it will no longer depend on having the right version of vcpkg installed, which has been a common problem for new people coming in to the codebase. Now you should only need xmake to build. * Bumps xmake requirement on github runners to 2.9.9 to resolve an issue where xmake on Windows invokes cmake with `v144` toolchain which does not exist * BLAKE3 is now in-tree at `thirdparty/blake3` * cpr is now in-tree at `thirdparty/cpr` * cxxopts is now in-tree at `thirdparty/cxxopts` * fmt is now in-tree at `thirdparty/fmt` * robin-map is now in-tree at `thirdparty/robin-map` * ryml is now in-tree at `thirdparty/ryml` * sol2 is now in-tree at `thirdparty/sol2` * spdlog is now in-tree at `thirdparty/spdlog` * utfcpp is now in-tree at `thirdparty/utfcpp` * xmake package repo definitions is in `repo` * implemented support for sanitizers. ASAN is supported on windows, TSAN, UBSAN, MSAN etc are supported on Linux/MacOS though I have not yet tested it extensively on MacOS * the zencore encryption implementation also now supports using mbedTLS which is used on MacOS, though for now we still use openssl on Linux * crashpad * bumps libcurl to 8.11.0 (from 8.8.0) which should address a rare build upload bug
* remove --deep option for codesign as it is considered harmful (#629)v5.7.8-pre9Dan Engelbrecht2025-11-041-4/+15
| | | | | * remove --deep option for codesign as it is considered harmful * sign crashpadhandler * add verbosity and strict to codesign
* Zs/mac restore minver 12.5 (#344)Zousar Shaker2025-04-041-2/+2
| | | * Restore Mac minver to 12.5
* remove xcode 12.1 workaround (#339)Dan Engelbrecht2025-04-021-2/+2
| | | | | * remove xcode 12.1 workaround * bump min macos version to 14.0
* Enabled signing on windows agents again (#12)Joakim Lindqvist2024-03-201-0/+4
| | | * Enabled signing on windows agents again
* changed RPC recording to MPSC setup (#638)Stefan Boberg2024-01-311-2/+2
| | | fixes rare race condition when using RPC recording for long periods of time
* windows executable signing (#566)Dan Engelbrecht2023-12-151-2/+28
| | | Windows executables are now signed with official cert when creating a release
* embed html frontend content as binary compiled data (#559)Dan Engelbrecht2023-11-231-27/+34
| | | | | | - Feature: Added xmake task `updatefrontend` which updates the zip file containing the frontend html (`/src/zenserver/frontend/html.zip`) - Improvement: The frontend html content is no longer appended at the end of the executable which prevented signing, instead it is compiled in from the `/src/zenserver/frontend/html.zip` archive - Improvement: MacOS now does ad-hoc code signing by default when issuing `xmake bundle`, signing with proper cert is done on CI builds
* revive UE toolchain build (#343)Dan Engelbrecht2023-08-221-1/+2
| | | | | | | | | * add comment about 7z usage in xmake bundle * add ue-libcxx lib/headers and licence + tps * update get_ue_toolchain.sh to use embedded libc++ and decouple from p4 * clearer output when falling back to zip from 7z * update ci scripts to use ue toolchain on linux * updated linux build README.md * changelog
* updated logic for 7z/zipStefan Boberg2023-05-191-6/+6
| | | | | previously, an attempt was made to locate any installed binary but the located path was not actually used in practice
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-1/+1
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* fix: bundle shouldn't append content zip to zenStefan Boberg2023-05-011-4/+0
|
* Removed the AppImage-based bundling step on LinuxMartin Ridgers2023-02-021-3/+1
|
* Include zen cmd in release (#188)Dan Engelbrecht2022-11-091-3/+32
| | | | | * make sure we build the zen command line as well in bundle * include zen command line executable * changelog
* Don't use -r option for 7z, it is not needed and picks up more than you ↵Dan Engelbrecht2022-09-051-1/+1
| | | | expect (#156)
* tweak compression settings to streamline buildStefan Boberg2022-06-031-2/+2
| | | | previously the bundles used maximum compression, now it uses the fastest mode. With the old setting bundling (release) took 55s on my machine, with these settings it took 28s
* Fixed typoMartin Ridgers2022-03-151-1/+1
|
* Zip up the frontend content and append to executable when bundlingMartin Ridgers2022-03-151-12/+81
|
* Allow nil arguments when bundle.lua launches processesMartin Ridgers2022-03-151-2/+9
|
* Use AppImage when bundling for Linux to avoid unmet GCC-11 dependenciesMartin Ridgers2022-02-221-1/+3
|
* Set a minimum Mac OS version that UE usesMartin Ridgers2022-01-201-2/+2
|
* Moved bundle.lua to scripts/bundle.lua to keep root cleanMartin Ridgers2022-01-201-0/+183