@@ -82,18 +82,27 @@ jobs:
82
82
83
83
curl -L -o kuzu_binary.tar.gz "$KUZU_URL"
84
84
85
- - name : Extract Kuzu Binaries
85
+ - name : Extract Kuzu Binaries (Linux)
86
+ if : ${{ matrix.target.platform == 'linux' }}
87
+ shell : bash
88
+ run : |
89
+ tar -xvzf kuzu_binary.tar.gz -C ${{ github.workspace }}/bin/${{ matrix.target.platform }}/kuzu/
90
+ # Rename only for Linux platforms
91
+ mv ${{ github.workspace }}/bin/${{ matrix.target.platform }}-${{ matrix.target.arch }}-${{ matrix.float-precision }}-${{ matrix.target-type }}/kuzu/libkuzu.so \
92
+ ${{ github.workspace }}/bin/${{ matrix.target.platform }}-${{ matrix.target.arch }}-${{ matrix.float-precision }}-${{ matrix.target-type }}/kuzu/libkuzu_${{ matrix.target.arch }}.so
93
+
94
+ - name : Extract Kuzu Binaries (macOS)
95
+ if : ${{ matrix.target.platform == 'macos' }}
96
+ shell : bash
97
+ run : |
98
+ tar -xvzf kuzu_binary.tar.gz -C ${{ github.workspace }}/bin/${{ matrix.target.platform }}/kuzu/
99
+ # No renaming needed for macOS
100
+
101
+ - name : Extract Kuzu Binaries (Windows)
102
+ if : ${{ matrix.target.platform == 'windows' }}
103
+ shell : pwsh
86
104
run : |
87
- if [[ "${{ matrix.target.platform }}" == "windows" ]]; then
88
- unzip kuzu_binary.tar.gz -d ${{ github.workspace }}/bin/${{ matrix.target.platform }}/kuzu/
89
- else if [[ "${{ matrix.target.platform }}" == "linux" ]]; then
90
- tar -xvzf kuzu_binary.tar.gz -C ${{ github.workspace }}/bin/${{ matrix.target.platform }}/kuzu/
91
- # Rename only for Linux platforms
92
- mv ${{ github.workspace }}/bin/${{ matrix.target.platform }}-${{ matrix.target.arch }}-${{ matrix.float-precision }}-${{ matrix.target-type }}/kuzu/libkuzu.so \
93
- ${{ github.workspace }}/bin/${{ matrix.target.platform }}-${{ matrix.target.arch }}-${{ matrix.float-precision }}-${{ matrix.target-type }}/kuzu/libkuzu_${{ matrix.target.arch }}.so
94
- else
95
- tar -xvzf kuzu_binary.tar.gz -C ${{ github.workspace }}/bin/${{ matrix.target.platform }}/kuzu/
96
- fi
105
+ Expand-Archive -Path kuzu_binary.tar.gz -DestinationPath "${{ github.workspace }}\bin\windows\kuzu\"
97
106
98
107
- name : Verify Kuzu Binaries
99
108
run : |
0 commit comments