v0.3.1 [skip ci]

This commit is contained in:
Amin Yahyaabadi 2021-11-21 17:07:02 -06:00
parent 991ce56d70
commit 8ffd439c10
1 changed files with 9 additions and 9 deletions

View File

@ -41,26 +41,26 @@ Tip: You can automate downloading using `wget`, `curl`, or other similar tools.
### Executable ### Executable
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.3.0), and run it with the available options. Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.3.1), and run it with the available options.
An example that installs llvm, cmake, ninja, ccache, and vcpkg: An example that installs llvm, cmake, ninja, ccache, and vcpkg:
```ps1 ```ps1
# windows example (open shell as admin) # windows example (open shell as admin)
curl -O "https://github.com/aminya/setup-cpp/releases/download/v0.3.0/setup_cpp_windows.exe" curl -O "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_windows.exe"
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true ./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
``` ```
```ps1 ```ps1
# linux example # linux example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.0/setup_cpp_linux" wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_linux"
chmod +x setup_cpp_linux chmod +x setup_cpp_linux
sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
``` ```
```ps1 ```ps1
# mac example # mac example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.0/setup_cpp_mac" wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_mac"
chmod +x setup_cpp_mac chmod +x setup_cpp_mac
sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
``` ```
@ -70,20 +70,20 @@ For the tools, instead of `true` that chooses the default version, you can pass
### With Nodejs ### With Nodejs
Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.3.0/setup_cpp.js), and run it with the available options. Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp.js), and run it with the available options.
On Windows On Windows
```ps1 ```ps1
# open shell as admin # open shell as admin
curl "https://github.com/aminya/setup-cpp/releases/download/v0.3.0/setup_cpp.js" curl "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp.js"
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
``` ```
On Linux or Mac: On Linux or Mac:
```ps1 ```ps1
wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.0/setup_cpp.js" wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp.js"
sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
``` ```
@ -123,7 +123,7 @@ jobs:
compiler: ${{ matrix.compiler }} compiler: ${{ matrix.compiler }}
cmake: true cmake: true
ninja: true ninja: true
conan: true vcpkg: true
cppcheck: true cppcheck: true
ccache: true # instead of `true`, which chooses the default version, you can pass a specific version. ccache: true # instead of `true`, which chooses the default version, you can pass a specific version.
# add any tool that you need here... # add any tool that you need here...
@ -142,7 +142,7 @@ WORKDIR "/"
RUN apt-get update -qq RUN apt-get update -qq
RUN apt-get install -y --no-install-recommends apt-utils RUN apt-get install -y --no-install-recommends apt-utils
RUN apt-get install -y --no-install-recommends ca-certificates wget unzip RUN apt-get install -y --no-install-recommends ca-certificates wget unzip
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.3.0/setup_cpp_linux" RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_linux"
RUN chmod +x ./setup_cpp_linux RUN chmod +x ./setup_cpp_linux
# install llvm, cmake, ninja, ccache, and vcpkg # install llvm, cmake, ninja, ccache, and vcpkg