mirror of https://github.com/aminya/setup-cpp
chore: v0.26.0 [skip test]
This commit is contained in:
parent
6908737db9
commit
ced47e4d43
12
README.md
12
README.md
|
@ -64,7 +64,7 @@ NOTE: On Unix systems, if you are already a root user (e.g., in a GitLab runner
|
||||||
|
|
||||||
You can download a self-contained executable file and run it with the available options.
|
You can download a self-contained executable file and run it with the available options.
|
||||||
|
|
||||||
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.25.1), and run it with the available options.
|
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.26.0), and run it with the available options.
|
||||||
|
|
||||||
Tip: You can automate downloading using `wget`, `curl`, or other similar tools.
|
Tip: You can automate downloading using `wget`, `curl`, or other similar tools.
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ An example that installs llvm, cmake, ninja, ccache, and vcpkg:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# windows example (open PowerShell as admin)
|
# windows example (open PowerShell as admin)
|
||||||
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-windows.exe"
|
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.26.0/setup-cpp-x64-windows.exe"
|
||||||
./setup-cpp-x64-windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
./setup-cpp-x64-windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||||
|
|
||||||
RefreshEnv.cmd # activate cpp environment variables
|
RefreshEnv.cmd # activate cpp environment variables
|
||||||
|
@ -80,7 +80,7 @@ RefreshEnv.cmd # activate cpp environment variables
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# linux example
|
# linux example
|
||||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-linux"
|
wget "https://github.com/aminya/setup-cpp/releases/download/v0.26.0/setup-cpp-x64-linux"
|
||||||
chmod +x ./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
|
sudo ./setup-cpp-x64-linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ source ~/.cpprc # activate cpp environment variables
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# macos example
|
# macos example
|
||||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-macos"
|
wget "https://github.com/aminya/setup-cpp/releases/download/v0.26.0/setup-cpp-x64-macos"
|
||||||
chmod +x ./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
|
sudo ./setup-cpp-x64-macos --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ FROM ubuntu:22.04 AS base
|
||||||
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.25.1/setup-cpp-x64-linux"
|
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.26.0/setup-cpp-x64-linux"
|
||||||
RUN chmod +x ./setup-cpp-x64-linux
|
RUN chmod +x ./setup-cpp-x64-linux
|
||||||
|
|
||||||
# install llvm, cmake, ninja, and ccache
|
# install llvm, cmake, ninja, and ccache
|
||||||
|
@ -261,7 +261,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.25.1/setup-cpp-x64-linux"
|
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.26.0/setup-cpp-x64-linux"
|
||||||
chmod +x setup-cpp-x64-linux
|
chmod +x setup-cpp-x64-linux
|
||||||
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
|
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
|
||||||
source ~/.cpprc
|
source ~/.cpprc
|
||||||
|
|
|
@ -5,7 +5,7 @@ FROM ubuntu:22.04 AS base
|
||||||
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.25.1/setup-cpp-x64-linux"
|
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.26.0/setup-cpp-x64-linux"
|
||||||
RUN chmod +x ./setup-cpp-x64-linux
|
RUN chmod +x ./setup-cpp-x64-linux
|
||||||
|
|
||||||
# install llvm, cmake, ninja, and ccache
|
# install llvm, cmake, ninja, and ccache
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "setup-cpp",
|
"name": "setup-cpp",
|
||||||
"version": "0.25.1",
|
"version": "0.26.0",
|
||||||
"description": "Install all the tools required for building and testing C++/C projects.",
|
"description": "Install all the tools required for building and testing C++/C projects.",
|
||||||
"repository": "https://github.com/aminya/setup-cpp",
|
"repository": "https://github.com/aminya/setup-cpp",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
Loading…
Reference in New Issue