mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-03 00:44:27 +00:00
CI: package the macOS and Windows builds again (finch-macos-arm64.tar.gz, finch-windows-x64.zip)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GzNP6r8dg6WDxUVZy8wjL
This commit is contained in:
parent
d557b5505e
commit
a4bdeb5712
1 changed files with 18 additions and 0 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -89,6 +89,14 @@ jobs:
|
||||||
build/finch version
|
build/finch version
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: tests/run.sh
|
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:
|
windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
@ -116,6 +124,16 @@ jobs:
|
||||||
export PATH="/c/llvm-mingw-20251216-ucrt-x86_64/bin:$PATH"
|
export PATH="/c/llvm-mingw-20251216-ucrt-x86_64/bin:$PATH"
|
||||||
export FINCH_LDFLAGS="-LC:/llvm/bin"
|
export FINCH_LDFLAGS="-LC:/llvm/bin"
|
||||||
FINCH=../build/finch.exe tests/run.sh
|
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:
|
vscode:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue