/distributable

Cross-platform and multi-arch redistributable for shipping MetaCall Core.

Primary LanguageSchemeApache License 2.0Apache-2.0

MetaCall Distributable

Cross-platform and multi-arch redistributable for shipping MetaCall Core.

How to Generate the Distributable Tarballs

This will generate all tarballs in the out directory. All logs will be stored in dist.log. This process will test if tarballs are correct too.

make &> dist.log & tail -f dist.log

How to Get the Hash from a Package

Replace $URL by the URL of the source code tarball, for example: https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz. Then paste the resulting hash into the package definition in the .scm file.

docker run --rm --privileged -it metacall/guix guix download $URL | tail -n1

In order to update hash from MetaCall Core package, just run the following command. It will automatically patch the hash in the source/metacall.scm file.

make download

GitLab CI settings

make sure to increase the job timeout to 2h+ (build job takes about a litle over an hour) in order to publish the tarball on GitHub as auto release you need to define the following variables in GitLab CI/CD settings, variable submenu

  • GH_TOKEN - a GitHub access token (select repo scope)
  • GH_REPO - a GitHub repo in the format of OWNER/REPO e.g. metacall/distributable