Skip to content
box

GitHub Action

NIM Lang Alpine

v1.2 Latest version

NIM Lang Alpine

box

NIM Lang Alpine

Nim language with tools

Installation

Copy and paste the following snippet into your .yml file.

              

- name: NIM Lang Alpine

uses: skynet-core/nim@v1.2

Learn more about this action in skynet-core/nim

Choose a version

Nim Compiler as GitHub action

build downloads last commit last release

Nim language compiler and tools within Alpine 3.12 image built with musl.

Inputs

command

Optional Command to run. Default is nimble build --nimcache:/tmp/.cache --nimbleDir:/tmp/.nimble --gcc.exe:gcc --gcc.linkerexe:gcc --passL:-static -d:release --opt:size -y

Example usage

Run tests and set STATUS output variable

- name: Run tests
  uses: skynet-core/nim@v1.2
  id: nim-test
  with:
    command: 'nimble build --nimcache:/tmp/.cache --nimbleDir:/tmp/.nimble --gcc.exe:gcc --gcc.linkerexe:gcc --passL:-static -d:release --opt:size -y'