Skip to content

Commit 0ca5828

Browse files
committed
Make more realistic
1 parent 4e1a872 commit 0ca5828

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/all.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
build-base-with-docker:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
platform: [ubuntu:24.04, alpine:latest, fedora:latest]
1013
steps:
1114
- name: Check out repository code
1215
uses: actions/checkout@v3
@@ -24,16 +27,17 @@ jobs:
2427
tags: bench
2528
target: bench-env
2629
build-args: |
27-
platform=ubuntu:24.04
28-
cache-from: type=gha
29-
cache-to: type=gha,mode=max
30+
platform=${{ matrix.platform }}
31+
cache-from: type=gha,index=buildkit_${{ matrix.platform }}
32+
cache-to: type=gha,mode=max, index=buildkit_${{ matrix.platform }}
3033

3134
build-and-benchmark-allocator:
3235
runs-on: ubuntu-latest
3336
needs: build-base-with-docker
3437
strategy:
3538
matrix:
36-
allocator: [mi, sn]
39+
platform: [ubuntu:24.04, alpine:latest, fedora:latest]
40+
allocator: [mi, sn, je]
3741
steps:
3842
- name: Check out repository code
3943
uses: actions/checkout@v3
@@ -50,11 +54,11 @@ jobs:
5054
push: false
5155
target: benchmark
5256
build-args: |
53-
platform=ubuntu:24.04
57+
platform=${{ matrix.platform }}
5458
allocator=${{ matrix.allocator }}
5559
benchs=allt
5660
repeats=1
57-
cache-from: type=gha
61+
cache-from: type=gha, index=buildkit_${{ matrix.platform }}
5862

5963
# build-all-alpine:
6064
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)