Commit Graph

102 Commits

Author SHA1 Message Date
Bartosz Taudul
6ce8ad7aff CI: centralize cmake --parallel flag for linux workflow
Define CMAKE_PARALLEL once per environment (--parallel 2 on GitHub CI,
unlimited locally) and use it across every cmake build, so all builds
are OOM-protected, not just the profiler GUI.
2026-08-09 12:46:43 +02:00
Bartosz Taudul
37a7c2c197 Add permissions and concurrency groups to all workflows
Set contents: read permissions on every workflow and add per-workflow
concurrency groups keyed on the git ref to deduplicate concurrent runs.
Release workflow keeps cancel-in-progress: false so a release build is
never canceled; job-level contents: write on attach-to-release is
preserved. Concurrency groups use hardcoded prefixes so reusable
workflows called from release.yml do not inherit the caller workflow
name and collide.
2026-08-09 12:46:40 +02:00
Bartosz Taudul
a8f9faf496 Fix parallel flags for profiler GUI build in linux workflow.
GitHub runners: limit to 2 jobs
Non-gimped environments: use all you got.
2026-08-09 12:11:19 +02:00
Bartosz Taudul
f57986e17d Add parallel flag to library build in linux workflow. 2026-08-09 12:11:04 +02:00
Bartosz Taudul
5f647e7eaf Build dyna example multithreaded in linux workflow. 2026-08-09 12:02:20 +02:00
Bartosz Taudul
e06fc5211b No meson/ninja needed in windows workflow. 2026-08-09 11:56:48 +02:00
Bartosz Taudul
92f0e0e951 Make linux-cli workflow compatible with act runner. 2026-08-07 00:28:10 +02:00
Bartosz Taudul
7dafaca602 Stage linux-cli artifact in a relative path for container job 2026-08-07 00:25:13 +02:00
Bartosz Taudul
63c94bae7d Strip release binaries on Linux and macOS. 2026-08-06 22:36:59 +02:00
Bartosz Taudul
8163734842 Ship Linux CLI tools in a versioned release zip
Build the CLI tools in a dedicated ubuntu:24.04 workflow and pack them
with the AppImage into a single linux-<version>.zip, matching the
Windows/macOS release shape.
2026-08-06 22:22:09 +02:00
Bartosz Taudul
c119f1c8de Package tracy-capture-daemon in release binaries. 2026-08-06 21:22:02 +02:00
Bartosz Taudul
ac159d6127 Fix RUNPATH in tracy-profiler AppImage
patchelf the stripped binary to /../lib, collapsing the RUNPATH
to the single intended entry. The wayland .pc files baked an absolute
build-host path and a trailing empty component into RUNPATH; the former
leaks the build environment and could shadow bundled libs on the target,
the latter can cause cwd library searches on older glibc.

Add patchelf to the appimage workflow's apt install list.
2026-07-24 20:34:10 +02:00
Bartosz Taudul
bcddc1d9f1 Cache wayland checkout. 2026-07-24 20:34:08 +02:00
Bartosz Taudul
f30d32a908 Add AppImage build script and workflow. 2026-07-24 18:25:05 +02:00
Bartosz Taudul
917c4baffb GLFW from brew should no longer be needed on macOS. 2026-07-23 21:11:07 +02:00
Bartosz Taudul
72b1edc39d Set executable bit in macOS bundle. 2026-07-21 20:24:38 +02:00
Bartosz Taudul
2247f1d14b Add macOS artifacts to release workflow. 2026-07-21 19:57:45 +02:00
Bartosz Taudul
b0be3a5776 Bump actions/setup-python from 2 to 7. 2026-07-21 19:52:22 +02:00
Bartosz Taudul
dc261fe799 Add permissions contents write to release workflow. 2026-07-21 19:46:37 +02:00
Bartosz Taudul
21f0d15f5f Do not install library in CI workflows. 2026-07-21 19:35:43 +02:00
Bartosz Taudul
51f2b1da87 Do not zip bundle. 2026-07-21 19:21:33 +02:00
Bartosz Taudul
b32d454bcd Try making a macos bundle. 2026-07-21 16:42:33 +02:00
Bartosz Taudul
fb4dcd4e96 Switch macos CI runner to macos-latest. 2026-07-21 15:04:37 +02:00
Bartosz Taudul
bd8246cba0 Build library / test application before building profiler tools. 2026-07-08 17:55:43 +02:00
Bartosz Taudul
2205d7972f Build dyna example in linux CI workflow. 2026-07-08 17:54:12 +02:00
Bartosz Taudul
6495aab062 Add android library CI workflow. 2026-07-07 17:53:14 +02:00
Bartosz Taudul
5298316480 Revert emscripten back to 5.0.7. There are threading problems with 6.0.0.
Specifically, click on the red power off button to go back to the welcome
screen, and the cleanup popup never goes away.
2026-06-14 16:24:13 +02:00
Bartosz Taudul
3816b2485e Bump used emscripten version to 6.0.0. 2026-06-14 15:06:53 +02:00
Marcos Slomp
9588912aa9 Speeding-up GitHub build-bots (#1392)
* disabling LTO when building the profiler on macos via the github workflow

* diagnosing where in the linking stage it's getting stuck

* fowrward declarations

* compilation time report

* trying clang build analyzer...

* reducing number of parallel workers

* limiting parallel workers on windows/linux as well

* re-enabling LTO on macos

* reverting forward declaration header include (emscripten is failing with them).

* reverting act changes

* removing comments
2026-06-09 11:21:09 +02:00
Marcos Slomp
a56b08e539 adding test application to windows and macos github workflows 2026-06-05 08:19:07 -07:00
Marcos Slomp
9c9dca8ea5 relocating tracy test app, and consolidating github test action 2026-06-05 08:17:29 -07:00
Bartosz Taudul
f71c74aaf7 Change TRACY_ENABLE default to OFF to match documentation.
The documentation states that Tracy is disabled by default, but the
build system defaults were ON/true. Change CMake and Meson defaults to
OFF/false. Projects that need profiling enabled must now opt in
explicitly. Add explicit TRACY_ENABLE=ON / tracy_enable=true to CI
steps and the test project to preserve existing behavior.
2026-04-10 18:49:04 +02:00
Bartosz Taudul
82560c8c0e Fix emscripten CI job. 2026-04-10 17:06:34 +02:00
Bartosz Taudul
00a069d608 Perform meson build in mingw workflow. 2026-04-03 21:11:03 +02:00
Bartosz Taudul
adf3a5b998 Build test application with CMake on mingw. 2026-04-03 20:10:06 +02:00
Bartosz Taudul
43c0f67353 Enable mingw CI builds on push and pull request. 2026-04-03 02:11:54 +02:00
Bartosz Taudul
08f82dc0be Add mingw CI build setup. 2026-04-02 01:02:18 +02:00
Bartosz Taudul
0fb2f8d75d Build client library with CMake and Meson again on Linux. 2026-04-02 00:42:16 +02:00
Bartosz Taudul
a861c6671c Reenable LTO, disable parallel build on GitHub runners. 2026-04-01 00:38:40 +02:00
Bartosz Taudul
b18b7461e4 Disable LTO on Linux CI. 2026-03-31 23:15:15 +02:00
Bartosz Taudul
c8a93adb01 Add merge utility to CI builds for linux, macos, and windows 2026-03-28 22:43:07 +01:00
Bartosz Taudul
1dee03e4f2 Rename workflow job names for uniqueness across workflows 2026-03-28 22:30:29 +01:00
Bartosz Taudul
0312a77390 Add GIT_REV to tools config in CI setup. 2026-03-28 21:59:10 +01:00
Bartosz Taudul
8420a1d7d6 Let's try automatic upload of release artifacts. 2026-02-20 00:27:41 +01:00
Bartosz Taudul
730dce67e6 Split build.yml into windows.yml and macos.yml. 2026-02-20 00:10:57 +01:00
Bartosz Taudul
a9070da72e Cache CPM on CI. 2026-02-19 23:07:00 +01:00
Bartosz Taudul
0abf0083be Enable workflow dispatch for CI jobs. 2026-02-19 23:06:33 +01:00
Clément Grégoire
9b135b53b4 Add lua to test/test.cpp 2026-01-13 11:25:44 +01:00
Bartosz Taudul
89f246dc07 Bump emscripten SDK to 4.0.10. 2025-07-12 18:20:28 +02:00
Bartosz Taudul
e660821d75 Remove Windows hacks for including license in the manual. 2025-06-07 16:32:06 +02:00