-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,21 +58,21 @@ NOTE: setup-cpp requires Nodejs 12 or higher. If Nodejs shipped with your distri | |
|
||
#### With executable | ||
|
||
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.38.0), 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.38.1), 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.38.0/setup-cpp-x64-windows.exe" | ||
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.38.1/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.38.0/setup-cpp-x64-linux" | ||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.38.1/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 | ||
|
||
|
@@ -81,7 +81,7 @@ source ~/.cpprc # activate cpp environment variables | |
|
||
```shell | ||
# macos example | ||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.38.0/setup-cpp-x64-macos" | ||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.38.1/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 | ||
|
||
|
@@ -156,19 +156,19 @@ To provide fast development environments, `setup-cpp` provides several prebuilt | |
You can use these images as a base image for your project. | ||
|
||
```dockerfile | ||
FROM aminya/setup-cpp-ubuntu-llvm:22.04-0.38.0 AS builder | ||
FROM aminya/setup-cpp-ubuntu-llvm:22.04-0.38.1 AS builder | ||
``` | ||
|
||
```dockerfile | ||
FROM aminya/setup-cpp-ubuntu-mingw:22.04-0.38.0 AS builder | ||
FROM aminya/setup-cpp-ubuntu-mingw:22.04-0.38.1 AS builder | ||
``` | ||
|
||
```dockerfile | ||
FROM aminya/setup-cpp-fedora-llvm:40-0.38.0 AS builder | ||
FROM aminya/setup-cpp-fedora-llvm:40-0.38.1 AS builder | ||
``` | ||
|
||
```dockerfile | ||
FROM aminya/setup-cpp-arch-llvm:base-0.38.0 AS builder | ||
FROM aminya/setup-cpp-arch-llvm:base-0.38.1 AS builder | ||
``` | ||
|
||
The names are in the format `aminya/setup-cpp-<platform>-<compiler>:<platform_version>-<setup_cpp_version>`. | ||
|
@@ -187,7 +187,7 @@ RUN apt-get update -qq && \ | |
# install nodejs | ||
apt-get install -y --no-install-recommends nodejs npm && \ | ||
# install setup-cpp | ||
npm install -g [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--nala true \ | ||
|
@@ -296,7 +296,7 @@ stages: | |
apt-get install -y --no-install-recommends nodejs npm | ||
|
||
# install setup-cpp | ||
npm install -g [email protected].0 | ||
npm install -g [email protected].1 | ||
|
||
# install the compiler and tools | ||
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ RUN pacman -Syuu --noconfirm && \ | |
# install nodejs | ||
pacman -S --noconfirm --needed nodejs npm && \ | ||
# install setup-cpp | ||
npm install -g [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--compiler llvm \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ RUN pacman -Syuu --noconfirm && \ | |
# install nodejs | ||
pacman -S --noconfirm --needed nodejs npm && \ | ||
# install setup-cpp | ||
npm install -g [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--compiler mingw \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM fedora:40 AS setup-cpp-fedora | |
# install nodejs | ||
RUN dnf -y install nodejs npm && \ | ||
# install setup-cpp | ||
npm install -g [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--compiler llvm \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM fedora:40 AS setup-cpp-fedora-mingw | |
# install nodejs | ||
RUN dnf -y install nodejs npm && \ | ||
# install setup-cpp | ||
npm install -g [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--compiler mingw \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ RUN apt-get update -qq && \ | |
apt-get update -qq && \ | ||
apt-get install -y --no-install-recommends nodejs && \ | ||
# install setup-cpp | ||
npm install -g [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--nala true \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--nala true \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected].0 && \ | ||
npm install -g [email protected].1 && \ | ||
# install the compiler and tools | ||
setup-cpp \ | ||
--nala true \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"name": "setup-cpp", | ||
"version": "0.38.0" | ||
"version": "0.38.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters