Skip to content

Commit

Permalink
action: reuse matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Yadong Ding <[email protected]>
  • Loading branch information
Desiki-high committed May 13, 2023
1 parent 0637c7b commit 28685d5
Showing 1 changed file with 17 additions and 56 deletions.
73 changes: 17 additions & 56 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ on:
env:
CARGO_TERM_COLOR: always

strategies:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk

jobs:
contrib-build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,14 +78,7 @@ jobs:
runs-on: ubuntu-latest
needs: [contrib-build, nydus-build]
strategy:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk
matrix: *strategies.matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -110,14 +113,7 @@ jobs:
runs-on: ubuntu-latest
needs: [contrib-build, nydus-build]
strategy:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk
matrix: *strategies.matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -154,14 +150,7 @@ jobs:
runs-on: ubuntu-latest
needs: [contrib-build, nydus-build]
strategy:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk
matrix: *strategies.matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -201,14 +190,7 @@ jobs:
runs-on: ubuntu-latest
needs: [contrib-build, nydus-build]
strategy:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk
matrix: *strategies.matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -245,14 +227,7 @@ jobs:
runs-on: ubuntu-latest
needs: [contrib-build, nydus-build]
strategy:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk
matrix: *strategies.matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -292,14 +267,7 @@ jobs:
runs-on: ubuntu-latest
needs: [contrib-build, nydus-build]
strategy:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk
matrix: *strategies.matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -336,14 +304,7 @@ jobs:
runs-on: ubuntu-latest
needs: [benchmark-oci, benchmark-zran-all-prefetch, benchmark-zran-no-prefetch, benchmark-nydus-no-prefetch, benchmark-nydus-all-prefetch, benchmark-nydus-filelist-prefetch]
strategy:
matrix:
image:
- wordpress-6.1.1
- node-19.8
- python-3.10.7
- golang-1.19.3
- ruby-3.1.3
- amazoncorretto-8-al2022-jdk
matrix: *strategies.matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 28685d5

Please sign in to comment.