From a7ef438f258a125eb3a49374c9f36750fba63861 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 27 May 2024 22:25:32 +0100 Subject: [PATCH] ci: use mold linker on linux jobs --- .github/workflows/ci-post-merge.yml | 4 ++++ .github/workflows/ci.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci-post-merge.yml b/.github/workflows/ci-post-merge.yml index e42057a2..5145fc85 100644 --- a/.github/workflows/ci-post-merge.yml +++ b/.github/workflows/ci-post-merge.yml @@ -41,6 +41,10 @@ jobs: if: matrix.target.os == 'ubuntu-latest' run: ./scripts/free-disk-space.sh + - name: Setup mold linker + if: matrix.target.os == 'ubuntu-latest' + uses: rui314/setup-mold@v1 + - name: Install nasm if: matrix.target.os == 'windows-latest' uses: ilammy/setup-nasm@v1.5.1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a96b25b..ebe55c0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,10 @@ jobs: if: matrix.target.os == 'ubuntu-latest' run: ./scripts/free-disk-space.sh + - name: Setup mold linker + if: matrix.target.os == 'ubuntu-latest' + uses: rui314/setup-mold@v1 + - name: Install nasm if: matrix.target.os == 'windows-latest' uses: ilammy/setup-nasm@v1.5.1