From 883e11b8a14d256bde812661bb5786a2feb48afe Mon Sep 17 00:00:00 2001 From: Firas al-Khalil Date: Mon, 14 Nov 2022 13:31:12 +0100 Subject: [PATCH] ci: handle so removal for mac and ubuntu --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f67f0072..9ef9ac70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,14 @@ jobs: cd tree-sitter make sudo make install + - name: delete .so (ubuntu) + if: ${{ matrix.os == 'ubuntu'}} + run: | sudo rm /usr/local/lib/libtree-sitter.so* + - name: delete .so (macos) + if: ${{ matrix.os == 'macos'}} + run: | + sudo rm /usr/local/lib/libtree-sitter.dylib* - name: ldconfig if: ${{ matrix.os == 'ubuntu' }} run: |