Skip to content

Commit

Permalink
test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Bulah committed Oct 4, 2023
1 parent 89d21f5 commit 368ae99
Showing 1 changed file with 17 additions and 24 deletions.
41 changes: 17 additions & 24 deletions .github/workflows/test_dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,23 @@ on:
- master

jobs:
php80_debian_v5:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build on 8.0/Dockerfile
run: docker build --progress=plain --file 8.0/Dockerfile .

php80_alpine_v5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build on 8.0/alpine/Dockerfile
run: docker build --progress=plain --file 8.0/alpine/Dockerfile .
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
# - linux/arm/v6
# - linux/arm/v7
- linux/arm64
php:
- 8.0
- 8.1
- 8.2
include:
- variant: alpine

php81_debian_v5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build on 8.1/Dockerfile
run: docker build --progress=plain --file 8.1/Dockerfile .

php81_alpine_v5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build on 8.1/alpine/Dockerfile
run: docker build --progress=plain --file 8.1/alpine/Dockerfile .
- name: testing matrix values
run: echo "${{ matrix.platform }} - ${{ matrix.php }} - ${{ matrix.variant }}"

0 comments on commit 368ae99

Please sign in to comment.