Arthur Sonzogni
b307a175ed
Bazel: general improvements. ( #1043 )
...
* Bazel: general improvements.
Improve the Bazel build. Attempt to fix previous errors recorded while
trying to publish ftxui in the Bazel Central Registry:
- https://github.com/bazelbuild/bazel-central-registry/pull/4485
- https://buildkite.com/bazel/bcr-presubmit/builds/13601#01968b61-f5b2-4d16-94d0-c87a03a1a23b
Test against "recent" platforms
-------------------------------
Previously, I got the error:
```
gcc: error: unrecognized command line option '-std-c++20'; did you mean '-std-c++2a'?
```
This was due to using old distribution like ubuntu 2004. Test against
newer platforms only to avoid GCC version<-9.x.y
Downgrade gtest version.
------------------------
I suspect this caused the Bazel Central Registry error:
```
file:///workdir/modules/googletest/1.15.2/MODULE.bazel:68:20: name 'use_repo_rule' is not defined
```
Specifying using bazelmod fixes the issue. Thanks @robinlinden
Tag gtest as dev_dependency
---------------------------
Presumably, this should avoid dependants to fetch it?
Enable --features-layering_check
--------------------------------
Aka clang `-Wprivate-header`. Fix the encountered errors.
Use clang in the CI
-------------------
The CI was defining clang/gcc in the matrix, but was not using it. Fix
the bug.
2025-05-07 22:41:17 +02:00
Arthur Sonzogni
aa80d8bac9
Generate attestation + refactor workflows ( #1039 )
2025-05-01 09:59:08 +02:00
Arthur Sonzogni
bcdcf70348
Fix Bazel Central Repository Workflow ( #1038 )
Build / Bazel, ${{ matrix.compiler }}, ${{ matrix.os }} (cl, windows-latest) (push) Waiting to run
Build / Bazel, ${{ matrix.compiler }}, ${{ matrix.os }} (gcc, macos-latest) (push) Waiting to run
Build / Bazel, ${{ matrix.compiler }}, ${{ matrix.os }} (gcc, ubuntu-latest) (push) Waiting to run
Build / Bazel, ${{ matrix.compiler }}, ${{ matrix.os }} (llvm, macos-latest) (push) Waiting to run
Build / Bazel, ${{ matrix.compiler }}, ${{ matrix.os }} (llvm, ubuntu-latest) (push) Waiting to run
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (cl, Windows MSVC, windows-latest) (push) Waiting to run
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (gcc, Linux GCC, ubuntu-latest) (push) Waiting to run
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (llvm, llvm-cov gcov, Linux Clang, ubuntu-latest) (push) Waiting to run
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (llvm, llvm-cov gcov, MacOS clang, macos-latest) (push) Waiting to run
Build / Create release (push) Blocked by required conditions
Build / Build packages (build/ftxui*Darwin*, macos-latest) (push) Blocked by required conditions
Build / Build packages (build/ftxui*Linux*, ubuntu-latest) (push) Blocked by required conditions
Build / Build packages (build/ftxui*Win64*, windows-latest) (push) Blocked by required conditions
Build / Build source package (push) Blocked by required conditions
Build / documentation (push) Waiting to run
2025-04-30 12:04:32 +02:00
Arthur Sonzogni
10d73d365f
Support Bazel build system ( #1033 )
...
Bug:https://github.com/ArthurSonzogni/FTXUI/issues/1032
Fixed:https://github.com/ArthurSonzogni/FTXUI/issues/1032
2025-04-29 15:11:10 +02:00
Arthur Sonzogni
4ba7dd2c5e
Window: Major crash fix. ( #1021 )
...
A patch handling focus was recently merged, but a special condition on
Windows was inverted, causing a segfault.
Bug:https://github.com/ArthurSonzogni/FTXUI/issues/1020
2025-03-29 12:51:08 +01:00
Arthur Sonzogni
67163c2571
Fix errors. ( #1010 )
2025-03-23 15:29:01 +01:00
ArthurSonzogni
fbd56cdf43
Fix CQ failures.
2024-08-17 12:01:43 +02:00
Arthur Sonzogni
6c2b43a2aa
Improve the example page. ( #780 )
2023-11-19 12:09:52 +01:00
SpaceIm
69557d4623
add FTXUI_DEV_WARNINGS option in CMakeLists ( #648 )
...
This option allows to enable warnings as errors, and add more compiler warnings
2023-05-23 14:38:49 +02:00
ArthurSonzogni
5e1af6bb69
Parallelize github build workflow
2023-05-19 12:11:12 +02:00
Arthur Sonzogni
4bdbf6352d
Update workflow to main branch. ( #614 )
...
This fixes:
https://github.com/ArthurSonzogni/FTXUI/issues/599
2023-04-09 11:40:54 +02:00
Arthur Sonzogni
36460fea2a
Switch to codecov v3 ( #458 )
2022-08-15 15:00:28 +02:00
ArthurSonzogni
d5b1899290
Fix workflow for documentation.
2022-07-09 19:15:17 +02:00
ArthurSonzogni
f80e20c4aa
Build documents and examples on master.
2022-07-09 18:51:35 +02:00
Amin Yahyaabadi
219daf46ff
ci: use gcovr 5.0 temporarily ( #406 )
2022-05-23 17:34:07 +02:00
ArthurSonzogni
e9772a0116
Update gcov options.
2022-04-28 11:32:30 +02:00
ArthurSonzogni
001dd0a8c3
Exclude tests from coverage.
2022-04-27 13:25:43 +02:00
Arthur Sonzogni
06ed8567b8
Add coverage for colors (extended) ( #385 )
2022-04-27 09:28:48 +02:00
Arthur Sonzogni
04b36df567
Coverage decorator ( #384 )
...
Add code coverage for colors and decorators.
2022-04-26 17:04:34 +02:00
Arthur Sonzogni
764c24ef40
Add code coverage support. ( #378 )
2022-04-17 15:47:20 +02:00
Kevin Brennan
cba11151b5
Fix Windows builds not being in Release mode ( #245 )
2021-10-22 18:06:19 +02:00
Arthur Sonzogni
4188ee2c04
Merge workflows. ( #234 )
...
- Merge all the workflows into one file.
- Produce Windows and MacOS artifact.
2021-10-17 20:10:07 +02:00