cpp-linter / clang-tools-static-binaries

static-linked versions of clang tools for Linux, Mac OS X and Windows
The Unlicense
2 stars 1 forks source link

upgrade macos runner? #16

Closed 2bndy5 closed 3 weeks ago

2bndy5 commented 1 month ago

https://github.com/cpp-linter/clang-tools-static-binaries/blob/03a926cf680f98c95c31c451de511af1b19cbae3/.github/workflows/build-amd64.yml#L54 Git blame points to this PR in upstream.

According to the actions/runner-images, MacOS-11 is deprecated, and the latest is up to MacOS-14

shenxianpeng commented 1 month ago

Yes let's try to upgrade macOS runner to MacOS-14 to have a look

shenxianpeng commented 3 weeks ago

I have upgraded the Macos Runner to macos-14

https://github.com/cpp-linter/clang-tools-static-binaries/blob/a13caef518f31de3a5efed771ed95833e1bdc20d/.github/workflows/build-amd64.yml#L58

I am going to publish a pre-release for master-a13caef5 for testing.

shenxianpeng commented 3 weeks ago

I tested the new pre-release master-a13caef5, the static binaries on macOS still has the problem from version 14~18.

dyld[3039]: Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib
  Referenced from: <54D844F3-D2D4-323E-9B2B-6EC303AF4B79> /Users/runner/work/clang-tools-static-binaries/clang-tools-static-binaries/clang-format-16_macosx-amd64
  Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)
/Users/runner/work/_temp/31e31703-4e2c-489d-84ab-c0645130b52c.sh: line 5:  3039 Abort trap: 6           ./clang-format-16_macosx-amd64 --version

More details please see the test job https://github.com/cpp-linter/clang-tools-static-binaries/actions/runs/9353719255/job/25744898037#step:3:40

shenxianpeng commented 3 weeks ago

I have created a new ticket #26 to track the failure on macOS. I think this ticket can be closed now.