From e8602f7049ff02a839e15391d0b36dcb6f895769 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Tue, 16 Apr 2024 19:22:58 +0200 Subject: [PATCH] chore(macos/aarch64) use nix to install gcc --- .github/workflows/build-macosx-aarch64.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-macosx-aarch64.yml b/.github/workflows/build-macosx-aarch64.yml index 3e202f4de..8ace154e8 100644 --- a/.github/workflows/build-macosx-aarch64.yml +++ b/.github/workflows/build-macosx-aarch64.yml @@ -23,14 +23,11 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.ref }} - - name: Set up Homebrew - uses: Homebrew/actions/setup-homebrew@master - - name: Install Clang 16 - run: brew install llvm@16 - - name: Export path + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + - name: Install gcc run: | - export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH" - + nix profile install nixpkgs#gcc - name: Install Rust Toolchain (macos) uses: actions-rust-lang/setup-rust-toolchain@v1 with: @@ -70,7 +67,7 @@ jobs: luarocks --verbose pack tree-sitter-orgmode - name: Install `tree-sitter-norg` Package run: | - luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg + luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg 0.2.1 luarocks --verbose pack tree-sitter-norg - name: Install `tree-sitter-norg-meta` Package run: |