Skip to content

Commit

Permalink
chore: v0.38.1 [skip test]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 8, 2024
1 parent b86c009 commit 55af62e
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 32 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,12 @@ jobs:
pnpm:
- 9
container:
- { file: "ubuntu-llvm.dockerfile", image: "setup-cpp-ubuntu-llvm", tag: "22.04-0.38.0" }
- { file: "fedora-llvm.dockerfile", image: "setup-cpp-fedora-llvm", tag: "40-0.38.0" }
- { file: "arch-llvm.dockerfile", image: "setup-cpp-arch-llvm", tag: "base-0.38.0" }
- { file: "ubuntu-mingw.dockerfile", image: "setup-cpp-ubuntu-mingw", tag: "22.04-0.38.0" }
# - { file: "fedora-mingw.dockerfile", image: "setup-cpp-fedora-mingw", tag: "40-0.38.0" }
# - { file: "arch-mingw.dockerfile", image: "setup-cpp-arch-mingw", tag: "base-0.38.0" }
- { file: "ubuntu-llvm.dockerfile", image: "setup-cpp-ubuntu-llvm", tag: "22.04-0.38.1" }
- { file: "fedora-llvm.dockerfile", image: "setup-cpp-fedora-llvm", tag: "40-0.38.1" }
- { file: "arch-llvm.dockerfile", image: "setup-cpp-arch-llvm", tag: "base-0.38.1" }
- { file: "ubuntu-mingw.dockerfile", image: "setup-cpp-ubuntu-mingw", tag: "22.04-0.38.1" }
# - { file: "fedora-mingw.dockerfile", image: "setup-cpp-fedora-mingw", tag: "40-0.38.1" }
# - { file: "arch-mingw.dockerfile", image: "setup-cpp-arch-mingw", tag: "base-0.38.1" }
steps:
- uses: actions/checkout@v4
with:
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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>`.
Expand All @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp/setup-cpp-arch-llvm.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 [email protected].0 && \
npm install -g [email protected].1 && \
# install the compiler and tools
setup-cpp \
--compiler llvm \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp/setup-cpp-arch-mingw.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 [email protected].0 && \
npm install -g [email protected].1 && \
# install the compiler and tools
setup-cpp \
--compiler mingw \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp/setup-cpp-fedora-llvm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp/setup-cpp-fedora-mingw.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp/setup-cpp-ubuntu-llvm.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 [email protected].0 && \
npm install -g [email protected].1 && \
# install the compiler and tools
setup-cpp \
--nala true \
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/setup-cpp/setup-cpp-ubuntu-mingw.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 [email protected].0 && \
npm install -g [email protected].1 && \
# install the compiler and tools
setup-cpp \
--nala true \
Expand Down
2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js.map

Large diffs are not rendered by default.

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.38.0"
"version": "0.38.1"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-cpp",
"version": "0.38.0",
"version": "0.38.1",
"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 Expand Up @@ -32,7 +32,7 @@
"build.parcel": "cross-env NODE_ENV=production parcel build && run-s build.babel && shx cp -r ./dist/actions/* ./dist/modern",
"build.babel": "babel ./dist --out-dir dist --plugins @upleveled/babel-plugin-remove-node-prefix --plugins @babel/plugin-transform-private-methods --compact --no-babelrc --source-maps true",
"bump": "ncu -u -x numerous,execa,prettier,@types/node,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean",
"clean": "shx rm -rf ./dist ./exe ./packages/*/dist/ && shx mkdir -p ./dist/legacy ./dist/actions ./dist/modern ",
"clean": "shx rm -rf ./dist ./exe ./packages/*/dist/ ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/actions ./dist/modern ",
"copy.matchers": "run-p copy.matchers.legacy copy.matchers.actions",
"copy.matchers.legacy": "shx cp ./src/gcc/gcc_matcher.json ./dist/legacy/ && shx cp ./src/msvc/msvc_matcher.json ./dist/legacy/ && shx cp ./src/python/python_matcher.json ./dist/legacy/ && shx cp ./src/llvm/llvm_matcher.json ./dist/legacy/",
"copy.matchers.actions": "shx cp ./src/gcc/gcc_matcher.json ./dist/actions/ && shx cp ./src/msvc/msvc_matcher.json ./dist/actions/ && shx cp ./src/python/python_matcher.json ./dist/actions/ && shx cp ./src/llvm/llvm_matcher.json ./dist/actions/",
Expand Down

0 comments on commit 55af62e

Please sign in to comment.