Added actions to Makefile to build and upload the conan package to Cimmeria

This commit is contained in:
2025-06-27 18:02:56 +02:00
parent 63711decc0
commit ca4c8b716d
2 changed files with 23 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
SHELL := /bin/bash
.DEFAULT_GOAL := help
.PHONY: help build test clean
.PHONY: help build test clean conan-build conan-upload
f_debug = build_debug
test_targets = unit_tests_arffFiles
@@ -44,6 +44,16 @@ test: ## Run tests (opt="-s") to verbose output the tests
done
@echo ">>> Done";
conan-build: ## Build Conan package locally
@echo ">>> Building Conan package...";
@conan create . --profile default
@echo ">>> Done";
conan-upload: ## Upload package to Cimmeria JFrog Artifactory
@echo ">>> Uploading to Cimmeria JFrog Artifactory...";
@conan upload arff-files --all -r Cimmeria --confirm
@echo ">>> Done";
help: ## Show help message
@IFS=$$'\n' ; \
help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##/:/'`); \