mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
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:
2
.github/workflows/macos-build.yml
vendored
2
.github/workflows/macos-build.yml
vendored
@@ -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'
|
||||
|
Reference in New Issue
Block a user