@@ -57,22 +57,22 @@ NOTE: setup-cpp requires Nodejs 12 or higher. If Nodejs shipped with your distri
57
57
58
58
#### With executable
59
59
60
- Download the executable for your platform from [ here] ( https://github.com/aminya/setup-cpp/releases/tag/v0.43 .0 ) , and run it with the available options. You can also automate downloading using ` curl ` , or other similar tools.
60
+ Download the executable for your platform from [ here] ( https://github.com/aminya/setup-cpp/releases/tag/v0.44 .0 ) , and run it with the available options. You can also automate downloading using ` curl ` , or other similar tools.
61
61
62
62
``` shell
63
63
# windows x64
64
- curl -o ./setup-cpp.exe -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.43 .0/setup-cpp-x64-windows.exe"
64
+ curl -o ./setup-cpp.exe -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.44 .0/setup-cpp-x64-windows.exe"
65
65
66
66
# linux x64
67
- curl -o ./setup-cpp -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.43 .0/setup-cpp-x64-linux"
67
+ curl -o ./setup-cpp -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.44 .0/setup-cpp-x64-linux"
68
68
chmod +x ./setup-cpp
69
69
70
70
# macos arm64
71
- curl -o ./setup-cpp -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.43 .0/setup-cpp-arm64-macos"
71
+ curl -o ./setup-cpp -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.44 .0/setup-cpp-arm64-macos"
72
72
chmod +x ./setup-cpp
73
73
74
74
# macos x64
75
- curl -o ./setup-cpp -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.43 .0/setup-cpp-x64-macos"
75
+ curl -o ./setup-cpp -LJ " https://github.com/aminya/setup-cpp/releases/download/v0.44 .0/setup-cpp-x64-macos"
76
76
chmod +x ./setup-cpp
77
77
```
78
78
@@ -131,13 +131,19 @@ jobs:
131
131
uses : actions/cache@v3
132
132
with :
133
133
path : |
134
+ ./build/
134
135
~/vcpkg
135
- ./build/vcpkg_installed
136
- ${{ env.HOME }}/.cache/vcpkg/archives
136
+ ~/.cache/vcpkg/archives
137
+ ${{ env.LOCALAPPDATA }}/vcpkg/archives
138
+ ${{ env.APPDATA }}/vcpkg/archives
137
139
${{ env.XDG_CACHE_HOME }}/vcpkg/archives
138
- ${{ env.LOCALAPPDATA }}\vcpkg\archives
139
- ${{ env.APPDATA }}\vcpkg\archives
140
- key : ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}
140
+ ~/.cache/ccache
141
+ ~/.ccache
142
+ ~/.config/ccache
143
+ ~/Library/Caches/ccache
144
+ ${{ env.LOCALAPPDATA }}/ccache
145
+ ${{ env.XDG_CACHE_HOME }}/ccache
146
+ key : ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt', './vcpkg.json') }}
141
147
restore-keys : |
142
148
${{ runner.os }}-${{ env.BUILD_TYPE }}-
143
149
@@ -161,19 +167,19 @@ To provide fast development environments, `setup-cpp` provides several prebuilt
161
167
You can use these images as a base image for your project.
162
168
163
169
``` dockerfile
164
- FROM aminya/setup-cpp-ubuntu-llvm:22.04-0.43 .0 AS builder
170
+ FROM aminya/setup-cpp-ubuntu-llvm:22.04-0.44 .0 AS builder
165
171
```
166
172
167
173
``` dockerfile
168
- FROM aminya/setup-cpp-ubuntu-mingw:22.04-0.43 .0 AS builder
174
+ FROM aminya/setup-cpp-ubuntu-mingw:22.04-0.44 .0 AS builder
169
175
```
170
176
171
177
``` dockerfile
172
- FROM aminya/setup-cpp-fedora-llvm:40-0.43 .0 AS builder
178
+ FROM aminya/setup-cpp-fedora-llvm:40-0.44 .0 AS builder
173
179
```
174
180
175
181
``` dockerfile
176
- FROM aminya/setup-cpp-arch-llvm:base-0.43 .0 AS builder
182
+ FROM aminya/setup-cpp-arch-llvm:base-0.44 .0 AS builder
177
183
```
178
184
179
185
The names are in the format ` aminya/setup-cpp-<platform>-<compiler>:<platform_version>-<setup_cpp_version> ` .
@@ -192,7 +198,7 @@ RUN apt-get update -qq && \
192
198
# install nodejs
193
199
apt-get install -y --no-install-recommends nodejs npm && \
194
200
# install setup-cpp
195
- npm install -g setup-cpp@v0.43 .0 && \
201
+ npm install -g setup-cpp@v0.44 .0 && \
196
202
# install the compiler and tools
197
203
setup-cpp \
198
204
--nala true \
@@ -301,7 +307,7 @@ stages:
301
307
apt-get install -y --no-install-recommends nodejs npm
302
308
303
309
# install setup-cpp
304
- npm install -g setup-cpp@v0.43 .0
310
+ npm install -g setup-cpp@v0.44 .0
305
311
306
312
# install the compiler and tools
307
313
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
0 commit comments