[tasks.bump_patch] install_crate = "cargo-bump" command = "cargo" args = ["bump", "patch"] [tasks.bump_minor] install_crate = "cargo-bump" command = "cargo" args = ["bump", "minor"] [tasks.test-plus-coverage] command = "cargo" args = ["tarpaulin", "--profile", "coverage", "--skip-clean", "--out", "Html"] [tasks.print-gitlab-ci-env] script = ''' #!@duckscript echo "*************************************" echo "Gitlab CI:" echo " Commit ref: ${CI_COMMIT_REF_NAME}" echo " Commit SHA: ${CI_COMMIT_SHA}" echo " Commit tag: ${CI_COMMIT_TAG}" echo " Rustup host target: ${CARGO_HOST_TARGET}" echo " Env target triple: ${CARGO_BUILD_TARGET}" echo " Cargo skip tests: ${CARGO_MAKE_SKIP_TEST}" echo "*************************************" ''' [tasks.gitlab-ci-flow] dependencies = [ "print-gitlab-ci-env", "ci-flow" ] [tasks.test-multi-phases-flow] condition = { env_not_set = [ "CARGO_MAKE_SKIP_TEST" ] } [env.release] CARGO_MAKE_CARGO_BUILD_TEST_FLAGS="${CARGO_MAKE_CARGO_ALL_FEATURES} --release"