ci: install compilers/linkers

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
This commit is contained in:
simonsan 2023-09-19 13:52:20 +02:00
parent fe013409e5
commit 3018a61fd0
No known key found for this signature in database
GPG Key ID: E11D13668EC3B71B

View File

@ -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 }}