Set linker for mingw64

This commit is contained in:
Christoffer Lerno
2025-03-07 12:34:00 +01:00
parent 5898cad98d
commit 5a6884b708

View File

@@ -136,7 +136,7 @@ jobs:
pacman --noconfirm -U https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-lld-20.1.0-1-any.pkg.tar.zst pacman --noconfirm -U https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-lld-20.1.0-1-any.pkg.tar.zst
- name: CMake - name: CMake
run: | run: |
cmake -B build -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} cmake -B build -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_LINKER=lld
cmake --build build cmake --build build
- name: Compile and run some examples - name: Compile and run some examples