Skip to content

Commit 3f66b85

Browse files
author
Ubuntu
committed
ci: drop windows release build
1 parent 11e87bf commit 3f66b85

3 files changed

Lines changed: 11 additions & 17 deletions

File tree

.github/workflows/cocoindex-code-rs-release.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ jobs:
4545
binary: cocoindex-code-rs
4646
artifact_name: cocoindex-code-rs
4747
archive_ext: tar.gz
48-
- runner: windows-latest
49-
target: x86_64-pc-windows-msvc
50-
os: windows
51-
arch: x86_64
52-
binary: cocoindex-code-rs.exe
53-
artifact_name: cocoindex-code-rs
54-
archive_ext: zip
5548

5649
runs-on: ${{ matrix.runner }}
5750

@@ -73,22 +66,13 @@ jobs:
7366
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
7467
run: cargo build --release --target ${{ matrix.target }}
7568

76-
- name: Package archive (Unix)
77-
if: runner.os != 'Windows'
69+
- name: Package archive
7870
run: |
7971
mkdir -p dist
8072
cp target/${{ matrix.target }}/release/${{ matrix.binary }} dist/${{ matrix.binary }}
8173
chmod +x dist/${{ matrix.binary }}
8274
tar -czf ${{ matrix.artifact_name }}-${{ matrix.os }}-${{ matrix.arch }}.${{ matrix.archive_ext }} -C dist ${{ matrix.binary }}
8375
84-
- name: Package archive (Windows)
85-
if: runner.os == 'Windows'
86-
shell: pwsh
87-
run: |
88-
New-Item -ItemType Directory -Force -Path dist | Out-Null
89-
Copy-Item "target/${{ matrix.target }}/release/${{ matrix.binary }}" "dist/${{ matrix.binary }}"
90-
Compress-Archive -Path "dist/${{ matrix.binary }}" -DestinationPath "${{ matrix.artifact_name }}-${{ matrix.os }}-${{ matrix.arch }}.${{ matrix.archive_ext }}" -Force
91-
9276
- name: Upload build artifact
9377
uses: actions/upload-artifact@v4
9478
with:

INSTALL.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ INSTALL_DIR=/your/bin/path
3636
curl -fsSL https://raw.githubusercontent.com/0xRouteAI/cocoindex-code-rs/main/install.sh | bash
3737
```
3838

39+
Prebuilt binaries currently support Linux and macOS only.
40+
Windows native binaries are not supported yet.
41+
On Windows, use WSL and run the Linux install command inside WSL.
42+
3943
Install to a custom directory:
4044

4145
```bash
@@ -55,6 +59,8 @@ cocoindex-code-rs --help
5559
which cocoindex-code-rs
5660
```
5761

62+
If you are using Windows with WSL, run these commands inside your WSL shell rather than PowerShell or `cmd.exe`.
63+
5864
If `~/.local/bin` is not in your `PATH`, add this to your shell profile:
5965

6066
```bash

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Install the latest release binary with one command:
1616
curl -fsSL https://raw.githubusercontent.com/0xRouteAI/cocoindex-code-rs/main/install.sh | bash
1717
```
1818

19+
Prebuilt binaries currently support Linux and macOS only.
20+
Windows native binaries are not supported yet.
21+
On Windows, use WSL and run the Linux install command inside WSL.
22+
1923
This installs the prebuilt release binary to:
2024

2125
```bash

0 commit comments

Comments
 (0)