From 804bf5423fb8a41608f1b04a0cd586f3f6dc8c98 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 2 Dec 2024 22:28:05 +0200 Subject: [PATCH 1/2] fixup! feat: add pre-commit hooks and fix build issues --- .github/workflows/build-amd64.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-amd64.yml b/.github/workflows/build-amd64.yml index 3f7c463..968af29 100644 --- a/.github/workflows/build-amd64.yml +++ b/.github/workflows/build-amd64.yml @@ -134,11 +134,12 @@ jobs: - name: patch cmake implicit link libraries on macosx if: ${{ matrix.os == 'macosx' }} shell: bash + run: | run: | sed -i.backup 's/gcc_eh.\*|/gcc_eh.*|gcc_ext.*|/g' "$(find /opt/homebrew/Cellar -name CMakeParseImplicitLinkInfo.cmake)" brew install gcc@11 - name: update homebrew - if: ${{ matrix.os == 'macosx' }} && matrix.clang-version >= '18' + if: ${{ matrix.os == 'macosx' && matrix.clang-version >= '18' }} shell: bash run: brew upgrade node - name: cmake From 76e88d9032f1f8152cfd77592fa7e8548564a459 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 2 Dec 2024 22:30:05 +0200 Subject: [PATCH 2/2] fix: update build workflow --- .github/workflows/build-amd64.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-amd64.yml b/.github/workflows/build-amd64.yml index 968af29..6d9527c 100644 --- a/.github/workflows/build-amd64.yml +++ b/.github/workflows/build-amd64.yml @@ -134,7 +134,6 @@ jobs: - name: patch cmake implicit link libraries on macosx if: ${{ matrix.os == 'macosx' }} shell: bash - run: | run: | sed -i.backup 's/gcc_eh.\*|/gcc_eh.*|gcc_ext.*|/g' "$(find /opt/homebrew/Cellar -name CMakeParseImplicitLinkInfo.cmake)" brew install gcc@11