Archived
feat(ci): add Intel Mac (x86_64) support
- Add macos-13 runner for x64 builds - Update homebrew workflow for macos-x64 binary Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
33ea6d03f1
commit
69b8764d27
2 files changed
+14
No files matched your search
@@ -20,6 +20,8 @@ jobs:
|
|||||||
artifact: barn-linux-arm64
|
artifact: barn-linux-arm64
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
artifact: barn-macos-arm64
|
artifact: barn-macos-arm64
|
||||||
|
- os: macos-13
|
||||||
|
artifact: barn-macos-x64
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
artifact: barn-windows-x64
|
artifact: barn-windows-x64
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,12 @@ jobs:
|
|||||||
cat SHA256SUMS
|
cat SHA256SUMS
|
||||||
|
|
||||||
MACOS_ARM64_SHA=$(grep barn-macos-arm64 SHA256SUMS | awk '{print $1}')
|
MACOS_ARM64_SHA=$(grep barn-macos-arm64 SHA256SUMS | awk '{print $1}')
|
||||||
|
MACOS_X64_SHA=$(grep barn-macos-x64 SHA256SUMS | awk '{print $1}')
|
||||||
LINUX_ARM64_SHA=$(grep barn-linux-arm64 SHA256SUMS | awk '{print $1}')
|
LINUX_ARM64_SHA=$(grep barn-linux-arm64 SHA256SUMS | awk '{print $1}')
|
||||||
LINUX_X64_SHA=$(grep barn-linux-x64 SHA256SUMS | awk '{print $1}')
|
LINUX_X64_SHA=$(grep barn-linux-x64 SHA256SUMS | awk '{print $1}')
|
||||||
|
|
||||||
echo "macos_arm64_sha=$MACOS_ARM64_SHA" >> $GITHUB_OUTPUT
|
echo "macos_arm64_sha=$MACOS_ARM64_SHA" >> $GITHUB_OUTPUT
|
||||||
|
echo "macos_x64_sha=$MACOS_X64_SHA" >> $GITHUB_OUTPUT
|
||||||
echo "linux_arm64_sha=$LINUX_ARM64_SHA" >> $GITHUB_OUTPUT
|
echo "linux_arm64_sha=$LINUX_ARM64_SHA" >> $GITHUB_OUTPUT
|
||||||
echo "linux_x64_sha=$LINUX_X64_SHA" >> $GITHUB_OUTPUT
|
echo "linux_x64_sha=$LINUX_X64_SHA" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
@@ -37,6 +39,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VERSION: ${{ steps.release.outputs.version }}
|
VERSION: ${{ steps.release.outputs.version }}
|
||||||
MACOS_ARM64_SHA: ${{ steps.release.outputs.macos_arm64_sha }}
|
MACOS_ARM64_SHA: ${{ steps.release.outputs.macos_arm64_sha }}
|
||||||
|
MACOS_X64_SHA: ${{ steps.release.outputs.macos_x64_sha }}
|
||||||
LINUX_ARM64_SHA: ${{ steps.release.outputs.linux_arm64_sha }}
|
LINUX_ARM64_SHA: ${{ steps.release.outputs.linux_arm64_sha }}
|
||||||
LINUX_X64_SHA: ${{ steps.release.outputs.linux_x64_sha }}
|
LINUX_X64_SHA: ${{ steps.release.outputs.linux_x64_sha }}
|
||||||
run: |
|
run: |
|
||||||
@@ -56,6 +59,15 @@ jobs:
|
|||||||
bin.install "barn-macos-arm64" => "barn"
|
bin.install "barn-macos-arm64" => "barn"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
on_intel do
|
||||||
|
url "https://github.com/samson-media/barn/releases/download/v${VERSION}/barn-macos-x64"
|
||||||
|
sha256 "${MACOS_X64_SHA}"
|
||||||
|
|
||||||
|
def install
|
||||||
|
bin.install "barn-macos-x64" => "barn"
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
on_linux do
|
on_linux do
|
||||||
|
|||||||
Reference in new issue
Block a user