rui314/setup-mold

A GitHub Action to install the mold linker

149

stars

60

commits

Aug 21, 2026

updated

README

This action downloads and installs the mold linker as the default linker.

Usage

Just add the following line to the steps: list in your GitHub Action YAML file:

- uses: rui314/setup-mold@v1

You can optionally pass parameters to the action as follows:

- uses: rui314/setup-mold@v1
  with:
    mold-version: 1.1.1
    make-default: false

mold-version specifies the mold version to install. By default, the most recent version will be installed.

If make-default: false is specified, mold will still be installed as /usr/local/bin/mold but it won't replace the default linker. If you choose not to install mold as the default linker, you need to pass an appropriate option such as -fuse-ld=mold to the compiler to use mold.

Contributors

rui314

32 commits

actions-user

24 commits

garasubo

1 commits

iamazeem

1 commits

rui314/setup-mold

A GitHub Action to install the mold linker

149

stars

60

commits

Aug 21, 2026

updated

README

This action downloads and installs the mold linker as the default linker.

Usage

Just add the following line to the steps: list in your GitHub Action YAML file:

- uses: rui314/setup-mold@v1

You can optionally pass parameters to the action as follows:

- uses: rui314/setup-mold@v1
  with:
    mold-version: 1.1.1
    make-default: false

mold-version specifies the mold version to install. By default, the most recent version will be installed.

If make-default: false is specified, mold will still be installed as /usr/local/bin/mold but it won't replace the default linker. If you choose not to install mold as the default linker, you need to pass an appropriate option such as -fuse-ld=mold to the compiler to use mold.

Contributors

rui314

32 commits

actions-user

24 commits

garasubo

1 commits

iamazeem

1 commits