Skip to content

Commit 621c91a

Browse files
committed
docs: add platform-specific packaging details to CI docs
1 parent 0c6680d commit 621c91a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/ci/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ Checksums: `ferrumc-{tag}-{target}.tar.gz.sha256` (or `.zip.sha256`)
4343

4444
Example: `ferrumc-v1.0.0-x86_64-unknown-linux-gnu.tar.gz`
4545

46+
#### Platform-Specific Packaging
47+
48+
| Platform | Archive tool | Checksum tool |
49+
|---|---|---|
50+
| Linux | `tar -czf` | `sha256sum` |
51+
| macOS | `tar -czf` | `shasum -a 256` (macOS lacks `sha256sum`) |
52+
| Windows | PowerShell `Compress-Archive` (runs under `shell: pwsh`) | PowerShell `Get-FileHash` |
53+
54+
Windows steps use `shell: pwsh` explicitly since the workflow default shell is `bash`.
55+
4656
## Build Profiles
4757

4858
| Profile | Use case | Key settings |

0 commit comments

Comments
 (0)