Skip to content

Commit

Permalink
chore(macos/aarch64) use nix to install gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Apr 16, 2024
1 parent 3d9b48d commit e8602f7
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build-macosx-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit e8602f7

Please sign in to comment.