|
22 | 22 | dotnet-version: '6.0.101' # SDK Version to use. keep in line with examples/benchmarkdotnet/global.json |
23 | 23 | - run: npm ci |
24 | 24 | - run: npm run build |
| 25 | + - name: Fetch gh-pages branch |
| 26 | + run: git fetch origin gh-pages:gh-pages |
25 | 27 | - name: Run benchmark |
26 | 28 | run: cd examples/benchmarkdotnet && dotnet run --exporters json --filter '*' |
27 | 29 | - name: Store benchmark result |
|
48 | 50 | cache: 'npm' |
49 | 51 | - run: npm ci |
50 | 52 | - run: npm run build |
| 53 | + - name: Fetch gh-pages branch |
| 54 | + run: git fetch origin gh-pages:gh-pages |
51 | 55 | - name: Run benchmark |
52 | 56 | run: cd examples/benchmarkjs && npm install && node bench.js | tee output.txt |
53 | 57 | - name: Store benchmark result |
|
74 | 78 | cache: 'npm' |
75 | 79 | - run: npm ci |
76 | 80 | - run: npm run build |
| 81 | + - name: Fetch gh-pages branch |
| 82 | + run: git fetch origin gh-pages:gh-pages |
77 | 83 | - name: Run benchmark |
78 | 84 | run: | |
79 | 85 | cd examples/catch2_v2 |
@@ -105,6 +111,8 @@ jobs: |
105 | 111 | cache: 'npm' |
106 | 112 | - run: npm ci |
107 | 113 | - run: npm run build |
| 114 | + - name: Fetch gh-pages branch |
| 115 | + run: git fetch origin gh-pages:gh-pages |
108 | 116 | - name: Run benchmark |
109 | 117 | run: | |
110 | 118 | cd examples/catch2 |
@@ -136,6 +144,8 @@ jobs: |
136 | 144 | cache: 'npm' |
137 | 145 | - run: npm ci |
138 | 146 | - run: npm run build |
| 147 | + - name: Fetch gh-pages branch |
| 148 | + run: git fetch origin gh-pages:gh-pages |
139 | 149 | - name: Cache Benchmark library |
140 | 150 | uses: actions/cache@v4 |
141 | 151 | with: |
@@ -172,6 +182,8 @@ jobs: |
172 | 182 | go-version: "stable" |
173 | 183 | - run: npm ci |
174 | 184 | - run: npm run build |
| 185 | + - name: Fetch gh-pages branch |
| 186 | + run: git fetch origin gh-pages:gh-pages |
175 | 187 | - name: Run benchmark |
176 | 188 | run: cd examples/go && go test -bench 'BenchmarkFib' | tee output.txt |
177 | 189 | - name: Store benchmark result |
@@ -202,6 +214,8 @@ jobs: |
202 | 214 | java-version: '11' |
203 | 215 | - run: npm ci |
204 | 216 | - run: npm run build |
| 217 | + - name: Fetch gh-pages branch |
| 218 | + run: git fetch origin gh-pages:gh-pages |
205 | 219 | - name: Run benchmark |
206 | 220 | run: | |
207 | 221 | cd examples/java |
@@ -231,6 +245,8 @@ jobs: |
231 | 245 | cache: 'npm' |
232 | 246 | - run: npm ci |
233 | 247 | - run: npm run build |
| 248 | + - name: Fetch gh-pages branch |
| 249 | + run: git fetch origin gh-pages:gh-pages |
234 | 250 | - uses: julia-actions/setup-julia@v1 |
235 | 251 | with: |
236 | 252 | version: '1' |
@@ -269,6 +285,8 @@ jobs: |
269 | 285 | python-version: 3.9 |
270 | 286 | - run: npm ci |
271 | 287 | - run: npm run build |
| 288 | + - name: Fetch gh-pages branch |
| 289 | + run: git fetch origin gh-pages:gh-pages |
272 | 290 | - name: Run benchmark |
273 | 291 | run: | |
274 | 292 | cd examples/pytest |
|
0 commit comments