btrfs-progs icon indicating copy to clipboard operation
btrfs-progs copied to clipboard

Github actions and workflows fine tuning

Open kdave opened this issue 2 years ago • 4 comments

Tracking issue for various gh actions tuning.

  • Actions status: https://github.com/kdave/btrfs-progs/actions
  • Documentation: https://docs.github.com/en/actions

kdave avatar Mar 22 '23 14:03 kdave

Basic coverage is in devel. Further work:

  • [x] add workflow for release, triggered by pushing branch release-test
    • [x] run build tests in docker containers
    • run tests/build-tests.sh in Tumbleweed container that supports all build targets
  • add maybe more workflows branching from checkout to functional and build-only tests
  • add template for self-hosted runners
  • [x] add workflow for pull requests with basic build checks
  • [x] extend test matrix to build with clang too

kdave avatar Mar 23 '23 19:03 kdave

https://github.com/actions/runner-images image details, updates, package versions

kdave avatar Apr 12 '23 14:04 kdave

https://dev.to/dtinth/caching-docker-builds-in-github-actions-which-approach-is-the-fastest-a-research-18ei possible ways how to cache docker images (2020)

kdave avatar Apr 12 '23 14:04 kdave

Skip testing when only documentation changes are pushed (Documentation/*.rst). https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-only-when-a-push-affects-specific-files

kdave avatar Jun 09 '23 11:06 kdave

Documentation-only patches can use the [ci skip] directive, no automation around that is needed. What works now is sufficient: devel, ci/* branches, pull requests, gcc, clang, distro coverage.

kdave avatar May 03 '24 13:05 kdave