summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2024-02-07Fix GitHub CI build and minor CMake issuesAlbrecht Schlosser
- GitHub CI: fix wrong CMake option name - fl_add_library: disable debug output (MSVC), fix formatting
2024-02-07Introduce "Modern CMake" in FLTKAlbrecht Schlosser
This is a big commit and there are too many changes to list them all. The main changes are: - rename all CMake build options to 'FLTK_*' - export library targets with namespace (prefix) 'fltk::' - standardize shared library target names with suffix '-shared' - set public build properties on libraries for consumers - document library names and aliases in README.CMake.txt - document changes in "Migrating Code from FLTK 1.3 to 1.4" - partial backwards compatibility for old user projects Included but not directly related changes: - fix Windows (Visual Studio) DLL build - add CMake function fl_debug_target() to show target properties - don't build test programs if FLTK is a subproject - internal: reformat CMake code: remove space before '(' Thanks to Matthias and Manolo for their help, testing, and feeback.
2023-02-23Fl_String refactoring and extension (#683)Matthias Melcher
- add true unittest and Fl_String testing - interface and printout are similar to gtest without requiring external linkage. just run `unittest --core`. - new Fl_String API - extended API to fl_input_str and fl_password_str - co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2023-01-10CI: Enable compiler warnings in CI builds (#648)Albrecht Schlosser
'-Wall -Wunused -Wsuggest-override' depending on the C++ standard, either - C++98 (Linux/X11) - C++11 (Linux/Wayland) - C++20 (macOS)
2022-12-08build: harden build.yml permissionsAlex
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-25Fix GitHub Actions (CI) for Windows buildsAlbrecht Schlosser
This was necessary because the latest GitHub "runner" image (20221120.1) includes incompatible image libs (libjpeg, libpng, and zlib). This caused `fluid-cmd.exe` to fail with error code -1073741511. For further information please refer to this GitHub Issue: https://github.com/actions/runner-images/issues/6627 The previous runner version (20221027.1) did not include these libs and our build used the internal libs and worked. The fix is to disable the search for system libs in CMake. Note: this does not explain *why* these libs are incompatible.
2022-11-25CI build-Wayland: package libpangocairo-1.0-0 is installed by defaultManoloFLTK
2022-11-23Have OPTION_USE_WAYLAND / --enable-wayland set to ON by defaultManoloFLTK
2022-09-30Improve wording of GitHub Issue TemplatesAlbrecht Schlosser
as suggested by Manolo and Ian
2022-09-28Add GitHub Issue TemplatesAlbrecht Schlosser
- bug_report.md: template for bug reports - feature_request.md: template for feature requests - fltk-build-or-usage-question.md: not really a template [1] [1] Explain to users that this is the wrong place to ask user questions and refer them to fltk.general
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-04Add build-wayland step to continuous integration.ManoloFLTK
2021-08-27GitHub Actions (Linux): add 'apt-get update'Albrecht Schlosser
Error was: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libegl-mesa0_21.0.3-0ubuntu0.2~20.04.1_amd64.deb 404 Not Found [IP: 52.147.219.192 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dev_21.0.3-0ubuntu0.2~20.04.1_amd64.deb 404 Not Found [IP: 52.147.219.192 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Error: Process completed with exit code 100.
2021-02-14Update GHA build scripts for Linux, macOS, and Windows.Michael R Sweet
2021-02-14Initial Github Action for CI buildsMichael R Sweet