The configuration file meta.yaml can be used to specify build, test, and install steps for projects of in principle any complexity. Please refer to the official documentation for an in-depth discussion: https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html.
For an upload of a Conda package to the Anaconda cloud, please follow the official Anaconda cloud documentation: https://docs.anaconda.com/anaconda-cloud/user-guide/. Also, consider Miniconda as a lightweight alternative to Anaconda: https://conda.io/miniconda.html.