Skip to content

Commit b263e79

Browse files
committed
chore: add readme about running the tool locally
1 parent 8a23537 commit b263e79

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,26 @@ The package can be used locally or from CI services like GitHub Actions. Stay tu
3232

3333
# Usage
3434

35+
## From Command Prompt
36+
37+
You should download the exe file or the js file (if have Nodejs installed) and then run it.
38+
39+
Tip: You can automate downloading using `wget`, `curl` or other similar tools.
40+
41+
### Executable
42+
43+
```
44+
./setup_cpp.exe --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1"
45+
```
46+
47+
### With Nodejs
48+
49+
Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/blob/master/dist/main.js), and run it
50+
51+
```
52+
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1"
53+
```
54+
3555
## Inside GitHub Actions
3656

3757
Here is a complete cross-platform example that tests llvm and gcc. It also uses cmake, ninja, conan, cppcheck, and ccache.

0 commit comments

Comments
 (0)