From 3018a61fd0a8d4b5454f01be5c32cd74dc0d6ba9 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:52:20 +0200 Subject: [PATCH] ci: install compilers/linkers Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .github/workflows/cross-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/cross-ci.yml b/.github/workflows/cross-ci.yml index 9fe44d0..451a574 100644 --- a/.github/workflows/cross-ci.yml +++ b/.github/workflows/cross-ci.yml @@ -90,6 +90,14 @@ jobs: run: | sudo apt update sudo apt-get install -y musl-tools + - name: install compiler on macos + shell: bash + if: ${{ matrix.job.target == 'x86_64-apple-darwin' }} + run: | + brew install michaeleisel/zld/zld + - name: install mold linker on linux gnu + if: ${{ matrix.job.target == 'x86_64-unknown-linux-gnu' }} + uses: rui314/setup-mold@v1 - uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2 with: key: ${{ matrix.job.target }}