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
ArthurSonzogni
784f53fd7e
Remove attestion for Bazel
2025-05-01 11:30:12 +02:00
ArthurSonzogni
799d8a267e
Fix release workflow
2025-05-01 10:52:54 +02:00
ArthurSonzogni
f4513702b0
Fix release workflow
2025-05-01 10:40:53 +02:00
ArthurSonzogni
ba6716c6e1
Fix publish workflow
2025-05-01 10:33:19 +02:00
ArthurSonzogni
694fa6bf5c
Fix publish workflow
2025-05-01 10:09:18 +02:00
Arthur Sonzogni
625915b52c
Fix publish workflow ( #1041 )
2025-05-01 10:06:49 +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
4d77353852
Create codeql.yml ( #631 )
2023-05-03 21:56:58 +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
ArthurSonzogni
05fc866d74
Do not trigger the CQ twice on pull request.
2021-09-30 21:44:29 +02:00
ArthurSonzogni
46f481ded7
Submit release as draft.
...
This will let me time to add a description.
2021-09-30 21:42:52 +02:00
ArthurSonzogni
75cd2b0fca
Fix workflow
2021-09-30 21:29:41 +02:00
ArthurSonzogni
0a5e9f2a2f
Add workflow creating releases.
2021-09-30 21:25:47 +02:00
Tushar Maheshwari
6a19371c9c
Merge Documentation and Emscripten workflow ( #166 )
...
Unify Documentation and Emscripten workflow
2021-07-25 19:31:45 +02:00
Arthur Sonzogni
2f9563a91b
Install graphviz to let Doxygen generate graph. ( #165 )
2021-07-23 09:18:23 +02:00
Tushar Maheshwari
a40a54ec10
Improve documentation workflow ( #163 )
...
* Compact project relative paths from doc directory
* Remove committed example_list.md
- generate example_list from cmake for documentation
* Fix doxygen same-line comments
* Add workflow for generating documentation
2021-07-23 08:40:47 +02:00
Arthur Sonzogni
aacb677e84
Introduce CatchEvent ( #104 )
2021-05-23 12:53:20 +02:00
Arthur Sonzogni
392614ad25
Create codeql-analysis.yml
2021-05-23 12:51:28 +02:00
ArthurSonzogni
155758c073
Use IWYU.
2021-05-01 23:19:07 +02:00
ArthurSonzogni
7d132c6225
Fix webassembly workflow.
2021-04-25 17:37:11 +02:00
Arthur Sonzogni
65c0297789
Update windows-msvc.yaml
2021-03-21 21:53:25 +01:00
Arthur Sonzogni
83fe939332
Improve workflow and badges. ( #78 )
2021-03-21 14:08:09 +01:00
Arthur Sonzogni
3a0b2520eb
Split workflows by OS ( #77 )
2021-03-21 13:42:12 +01:00
Arthur Sonzogni
a6a7f0a354
Add CI on github action. ( #76 )
2021-03-20 22:45:21 +01:00
ArthurSonzogni
dbfc5d0503
Add FUNDING.yml
2020-06-28 16:07:08 +02:00