ci: add clang+bintools for macOS, disable LTO

Add llvmPackages_latest.clang and bintools to the macOS part of
default.nix for nix, because for some reason the `ar` utility is not
found in GitHub actions right now.

Disable LTO for the macOS action for now, this is a consequence of
recent cmake refactoring and needs to be fixed.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover
2024-03-11 08:53:47 +00:00
parent 1fff5cb1f7
commit b45a4066b1
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- name: Configure
run: >-
nix-shell --command 'cmake -B build -G Ninja ${{ matrix.cmake_build }} ${{ matrix.cmake_options }}'
nix-shell --command 'cmake -B build -G Ninja ${{ matrix.cmake_build }} -DENABLE_LTO=OFF ${{ matrix.cmake_options }}'
- name: Build
run: >-
nix-shell --command 'ninja -C build'