update gradle action to v2 with support of caching
cache additionally konan, nodejs and yarn using gradle action
setup publication to github packages
setup building of samples, only when they change
fix building of linux native debug test binaries (kotlin issue)
fix building of sample (kotlin issue)
Current workflows:
ci-dev: run tests on push to branches other then master, publish snapshot for branch (f.e. 0.15.0-branch-name-SNAPSHOT)
ci-main: run tests on push to master, publish snapshot (f.e 0.15.0-SNAPSHOT)
ci-pr: run tests on PR created/updated
ci-release: run tests on tag created, publish to maven central with version equaled tag (f.e 0.15.2)
ci-samples: build samples, if they change (other ci-* workflows will not run, when samples change). Specific workflow is needed, because samples not connected to ordinary build, as it uses published version of rsocket-kotlin
publish-snapshot: reusable workflow for publish to Github Packages
run-benchmarks: manual run of benchmarks on linux for specific branch
run-tests: reusable workflow for running tests on all targets and aggregating report for failed tests
Note: new workflows will work only after merge, as reusable workflows uses specific branch, here it's master
Current workflows:
master
, publish snapshot for branch (f.e. 0.15.0-branch-name-SNAPSHOT)master
, publish snapshot (f.e 0.15.0-SNAPSHOT)ci-*
workflows will not run, when samples change). Specific workflow is needed, because samples not connected to ordinary build, as it uses published version ofrsocket-kotlin
Note: new workflows will work only after merge, as
reusable workflows
uses specific branch, here it'smaster