From a4bdeb5712b2062a7153ae200c9ddb3f85e6c548 Mon Sep 17 00:00:00 2001 From: Nexoniarz Date: Thu, 29 Oct 2026 12:22:56 +0100 Subject: [PATCH] CI: package the macOS and Windows builds again (finch-macos-arm64.tar.gz, finch-windows-x64.zip) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016GzNP6r8dg6WDxUVZy8wjL --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eba3e44..1c85d92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,6 +89,14 @@ jobs: build/finch version - name: Tests run: tests/run.sh + - name: Package + run: | + mkdir -p dist/finch && cp build/finch README.md LICENSE dist/finch/ && cp -r runtime std examples dist/finch/ + tar -czf finch-macos-arm64.tar.gz -C dist finch + - uses: actions/upload-artifact@v4 + with: + name: finch-macos-arm64 + path: finch-macos-arm64.tar.gz windows: runs-on: windows-2022 @@ -116,6 +124,16 @@ jobs: export PATH="/c/llvm-mingw-20251216-ucrt-x86_64/bin:$PATH" export FINCH_LDFLAGS="-LC:/llvm/bin" FINCH=../build/finch.exe tests/run.sh + - name: Package + run: | + mkdir -p dist/finch + cp build/finch.exe build/libclang.dll README.md LICENSE dist/finch/ + cp -r runtime std examples dist/finch/ + cd dist && 7z a -tzip finch-windows-x64.zip finch > /dev/null + - uses: actions/upload-artifact@v4 + with: + name: finch-windows-x64 + path: dist/finch-windows-x64.zip vscode: runs-on: ubuntu-24.04