-
Notifications
You must be signed in to change notification settings - Fork 47
43 lines (41 loc) · 1.09 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Docker build testing
on: [push, pull_request]
jobs:
linux:
name: Test Linux (${{ matrix.version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- 2.10.x
- 2.11.x
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build ${{ matrix.version }} images
run: |
cd ./${{ matrix.version }}/tests && ./build-images.sh
- name: Test ${{ matrix.version }} images
run: |
cd ./${{ matrix.version }}/tests && ./run-images.sh
windows:
name: Test Windows Server 2019 (${{ matrix.version }})
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
version:
- 2.10.x
- 2.11.x
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build images
shell: powershell
run: |
cd ./${{ matrix.version }}/tests; ./build-images-2019.ps1
- name: Test images
shell: powershell
run: |
cd ./${{ matrix.version }}/tests; ./run-images-2019.ps1