summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2025-11-17Fix Cairo build and add FLTK_OPTION_CAIRO_WINDOW to CI buildAlbrecht Schlosser
... on GitHub (GitLab CI builds used it already)
2025-05-08Simplify CMake build config for test and demo programsAlbrecht Schlosser
Define platform specific library names as CMake variables so they can be used to build demo programs w/o platform specific instructions. This includes optional components (e.g. OpenGL) and the MSVC specific extra object library (call_main) and the fact that we build only one "monolithic" shared library with MSVC. Also, enable building FLTK Forms library in CI builds.
2025-04-21Fix "fully support ... own shared libraries" (#1238)Albrecht Schlosser
- If shared libraries are built, then fluid, fltk-options, and the "games" are linked against the shared FLTK libraries. On some platforms the static and the shared versions of fluid and fltk-options are built. The games are only built if FLTK_BUILD_TEST is enabled. - The CMake 'install' target now installs the games (if built) and their man pages on all platforms (no matter if that is useful, for instance on Windows). - On macOS 'CMAKE_INSTALL_RPATH' is set so *installed* programs automatically find their shared FLTK libraries. The "shared" versions of fluid and fltk-options got their own '.plist' files. This works for both the executables themselves as well as those included in bundles. There may be more to do on the macOS platform.
2025-03-11CI for Wayland: replace libgtk-3-dev by libdecor-0-dev libxfixes-dev ↵ManoloFLTK
libxcursor-dev libxinerama-dev
2025-03-06CMake/CI: Switch CXX standard to C++11 for all buildsAlbrecht Schlosser
Note: current minimum for future 1.5.0 is C++11, this may be raised after further discussion.
2025-02-19Update "GitHub Actions" Linux runner to 'ubuntu-latest'Albrecht Schlosser
Note: ubuntu-20.04 will be phased out soon
2024-10-18Update GitHub workflow: actions/checkoutAlbrecht Schlosser
update from 'actions/checkout@v2' to 'actions/checkout@v4'
2024-04-20CMake/MSVC: Fix shared library build, add to GitHub CI buildAlbrecht Schlosser
Fault was a simple typo or copy-paste error
2024-04-17Separate FLUID user documentation, screen shot automation (#936)Matthias Melcher
* CMake integration, no autotiools * alignment panel is now correctly renamed to setting panel * source view is now correctly renamed to code view * Merge FLTK FLUID docs into FLUID user manual. * Add two simple entry tutorials * Remove FLUID chapter form FLTK docs. * GitHub action to generate HTML and PDF docs and make the available as artefacts
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-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