v0.8.0 [skip ci]

This commit is contained in:
Amin Yahyaabadi 2022-02-01 21:17:26 -08:00
parent c56c0d924a
commit 9bc7fbc388
2 changed files with 10 additions and 10 deletions

View File

@ -47,13 +47,13 @@ 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.7.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.8.0), 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 -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp_windows.exe" curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/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
RefreshEnv.cmd # reload the environment RefreshEnv.cmd # reload the environment
@ -61,7 +61,7 @@ RefreshEnv.cmd # reload the environment
```ps1 ```ps1
# linux example # linux example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp_linux" wget "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/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
@ -70,7 +70,7 @@ source ~/.profile # reload the environment
```ps1 ```ps1
# mac example # mac example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp_mac" wget "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/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
@ -84,7 +84,7 @@ NOTE: you will not need `sudo` if you are already a root user (e.g., in a GitLab
### With Nodejs ### With Nodejs
Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.7.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.8.0/setup_cpp.js), and run it with the available options.
On Windows: On Windows:
@ -92,7 +92,7 @@ Open the shell as admin, download via `curl`, then install
```ps1 ```ps1
# open shell as admin # open shell as admin
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp.js" curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/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
RefreshEnv.cmd # reload the environment RefreshEnv.cmd # reload the environment
@ -101,7 +101,7 @@ RefreshEnv.cmd # reload the environment
On Linux or Mac: On Linux or Mac:
```ps1 ```ps1
wget "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp.js" wget "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/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
source ~/.profile # reload the environment source ~/.profile # reload the environment
@ -180,7 +180,7 @@ FROM debian:bullseye
WORKDIR "/" WORKDIR "/"
RUN apt-get update -qq RUN apt-get update -qq
RUN apt-get install -y --no-install-recommends wget RUN apt-get install -y --no-install-recommends wget
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp_linux" RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/setup_cpp_linux"
RUN chmod +x ./setup_cpp_linux RUN chmod +x ./setup_cpp_linux
# install llvm, cmake, ninja, and ccache # install llvm, cmake, ninja, and ccache
@ -259,7 +259,7 @@ stages:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
.setup_cpp: &setup_cpp | .setup_cpp: &setup_cpp |
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp_linux" curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/setup_cpp_linux"
chmod +x setup_cpp_linux chmod +x setup_cpp_linux
./setup_cpp_linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true ./setup_cpp_linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
source ~/.profile source ~/.profile

View File

@ -5,7 +5,7 @@ FROM debian:bullseye
WORKDIR "/" WORKDIR "/"
RUN apt-get update -qq RUN apt-get update -qq
RUN apt-get install -y --no-install-recommends wget RUN apt-get install -y --no-install-recommends wget
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.7.0/setup_cpp_linux" RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.8.0/setup_cpp_linux"
RUN chmod +x ./setup_cpp_linux RUN chmod +x ./setup_cpp_linux
# install llvm, cmake, ninja, and ccache # install llvm, cmake, ninja, and ccache