8 votes

Nim: Deploying static binaries

4 comments

  1. kaushalmodi
    Link
    Deploying Nim applications as static binaries for GNU/Linux type operating systems, built using musl. The deployment happens automatically using Travis CI on GitHub repos. The post goes into...

    Deploying Nim applications as static binaries for GNU/Linux type operating systems, built using musl. The deployment happens automatically using Travis CI on GitHub repos.

    The post goes into complete detail on how to do the build and how to deploy with all the required code and a template git repo.

    2 votes
  2. [3]
    tan
    Link
    Great post! I particularly appreciate how you take the time to explain things like your glibc problem, musl, and NimScript in a way that someone with very little knowledge could still follow....

    Great post! I particularly appreciate how you take the time to explain things like your glibc problem, musl, and NimScript in a way that someone with very little knowledge could still follow. Something I might add is a one-sentence summary of what UPX does.

    PS: Here's Gitlab's CI tool: https://about.gitlab.com/features/gitlab-ci-cd/

    2 votes
    1. [2]
      kaushalmodi
      Link Parent
      I appreciate that comment. Thanks. This is the first time I spent some time in figuring out how to deploy binaries and also optimize them. So I write these posts to also serve as reference notes...

      Great post! I particularly appreciate how you take the time to explain things like your glibc problem, musl, and NimScript in a way that someone with very little knowledge could still follow.

      I appreciate that comment. Thanks. This is the first time I spent some time in figuring out how to deploy binaries and also optimize them. So I write these posts to also serve as reference notes for my future self :)

      Something I might add is a one-sentence summary of what UPX does.

      Done! See the footnotes references added for upx and strip in that section.

      PS: Here's Gitlab's CI tool: https://about.gitlab.com/features/gitlab-ci-cd/

      I am aware of the Gitlab CI tool, but only for Gitlab Pages deployment and such. It's not clear if and how Release Assets can be auto-uploaded to Gitlab as I do for GitHub for the template project hello_musl.