Skip to content

Commit

Permalink
chore: v0.31.0 [skip test]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 16, 2023
1 parent 1d68644 commit ac552e8
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ NOTE: On Unix systems, if you are already a root user (e.g., in a GitLab runner

#### With executable

Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.30.1), and run it with the available options. You can also automate downloading using `wget`, `curl`, or other similar tools.
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.31.0), and run it with the available options. You can also automate downloading using `wget`, `curl`, or other similar tools.

An example that installs llvm, cmake, ninja, ccache, and vcpkg:

```shell
# windows example (open PowerShell as admin)
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.30.1/setup-cpp-x64-windows.exe"
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-windows.exe"
./setup-cpp-x64-windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true

RefreshEnv.cmd # activate cpp environment variables
```

```shell
# linux example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.30.1/setup-cpp-x64-linux"
wget "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-linux"
chmod +x ./setup-cpp-x64-linux
sudo ./setup-cpp-x64-linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true

Expand All @@ -79,7 +79,7 @@ source ~/.cpprc # activate cpp environment variables

```shell
# macos example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.30.1/setup-cpp-x64-macos"
wget "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-macos"
chmod +x ./setup-cpp-x64-macos
sudo ./setup-cpp-x64-macos --compiler llvm --cmake true --ninja true --ccache true --vcpkg true

Expand Down Expand Up @@ -159,7 +159,7 @@ RUN apt-get update -qq && \
# install nodejs
apt-get install -y --no-install-recommends nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.30.1 && \
npm install -g setup-cpp@v0.31.0 && \
# install the compiler and tools
setup-cpp \
--nala true \
Expand Down Expand Up @@ -269,7 +269,7 @@ stages:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F

.setup-cpp: &setup-cpp |
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.30.1/setup-cpp-x64-linux"
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-linux"
chmod +x setup-cpp-x64-linux
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
source ~/.cpprc
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/__tests__/arch.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN pacman -Syuu --noconfirm && \
# install nodejs
pacman -S --noconfirm --needed nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.30.1 && \
npm install -g setup-cpp@v0.31.0 && \
# install the compiler and tools
node /usr/lib/setup-cpp/setup-cpp.js \
--compiler llvm \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/__tests__/fedora.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY "./dist/legacy" "/usr/lib/setup-cpp/"
# install nodejs
RUN dnf -y install nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.30.1 && \
npm install -g setup-cpp@v0.31.0 && \
# install the compiler and tools
node /usr/lib/setup-cpp/setup-cpp.js \
--compiler llvm \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/__tests__/ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update -qq && \
# install nodejs
apt-get install -y --no-install-recommends nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.30.1 && \
npm install -g setup-cpp@v0.31.0 && \
# install the compiler and tools
node /usr/lib/setup-cpp/setup-cpp.js \
--nala true \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp-arch.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN pacman -Syuu --noconfirm && \
# install nodejs
pacman -S --noconfirm --needed nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.30.1 && \
npm install -g setup-cpp@v0.31.0 && \
# install the compiler and tools
setup-cpp \
--compiler llvm \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp-fedora.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM fedora:38 as setup-cpp-fedora
# install nodejs
RUN dnf -y install nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.30.1 && \
npm install -g setup-cpp@v0.31.0 && \
# install the compiler and tools
setup-cpp \
--compiler llvm \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp-ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apt-get update -qq && \
# install nodejs
apt-get install -y --no-install-recommends nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.30.1 && \
npm install -g setup-cpp@v0.31.0 && \
# install the compiler and tools
setup-cpp \
--nala true \
Expand Down
2 changes: 1 addition & 1 deletion package-version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "setup-cpp",
"version": "0.30.1"
"version": "0.31.0"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-cpp",
"version": "0.30.1",
"version": "0.31.0",
"description": "Install all the tools required for building and testing C++/C projects.",
"repository": "https://github.com/aminya/setup-cpp",
"license": "Apache-2.0",
Expand Down

0 comments on commit ac552e8

Please sign in to comment.