← 返回命令列表

Linux command

smalltalkci 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run tests

smalltalkci

Run with config

smalltalkci [.smalltalk.ston]

Specify Smalltalk

smalltalkci -s [Squeak64-5.3]

Headless mode

smalltalkci --headless

Debug mode

smalltalkci -d

说明

smalltalkci provides continuous integration testing for Smalltalk projects across multiple dialects including Squeak, Pharo, GemStone/S, and Moose. It automates the process of downloading the appropriate Smalltalk virtual machine, loading project code, running tests, and reporting results. Configuration is defined in a .smalltalk.ston file using STON (Smalltalk Object Notation) format, specifying which Smalltalk platform to use, packages to load, and test classes to run. The tool integrates with GitHub Actions, Travis CI, and other CI/CD platforms. Tests run in headless mode by default, requiring no graphical display. Debug mode provides additional output for troubleshooting failed builds, and a custom Smalltalk image can be specified for projects with specific environment requirements.

参数

-s _SMALLTALK_
Smalltalk image version to use (e.g., Squeak64-5.3, Pharo-10.0).
-d
Debug mode for additional output when troubleshooting.
--headless
Run the Smalltalk VM without graphical display (default for CI).
--image _FILE_
Use a specific Smalltalk image file.
--baseline _NAME_
Define the Metacello baseline to load or test.
--dir _PATH_
Set the working directory for the project. Defaults to the current directory.
--cache-dir _PATH_
Directory where Smalltalk images and VMs are cached.
--github-token _TOKEN_
GitHub token for accessing private repositories or increasing API rate limits.
--no-tracking
Opt out of anonymous build metrics collection.
--help
Show help.

FAQ

What is the smalltalkci command used for?

smalltalkci provides continuous integration testing for Smalltalk projects across multiple dialects including Squeak, Pharo, GemStone/S, and Moose. It automates the process of downloading the appropriate Smalltalk virtual machine, loading project code, running tests, and reporting results. Configuration is defined in a .smalltalk.ston file using STON (Smalltalk Object Notation) format, specifying which Smalltalk platform to use, packages to load, and test classes to run. The tool integrates with GitHub Actions, Travis CI, and other CI/CD platforms. Tests run in headless mode by default, requiring no graphical display. Debug mode provides additional output for troubleshooting failed builds, and a custom Smalltalk image can be specified for projects with specific environment requirements.

How do I run a basic smalltalkci example?

Run `smalltalkci` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s _SMALLTALK_ do in smalltalkci?

Smalltalk image version to use (e.g., Squeak64-5.3, Pharo-10.0).