forked from getdozer/dozer
-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (43 loc) · 1.48 KB
/
integration.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
44
45
46
47
48
49
50
51
52
53
54
name: Dozer Integration Test
on:
workflow_dispatch:
inputs:
dozer-version:
description: Expected Dozer version number. Leave blank to skip verifying the version.
env:
CARGO_TERM_COLOR: always
DOZER_VERSION: ${{ github.event.inputs.dozer-version }}
concurrency:
group: integration/${{ github.head_ref }}
cancel-in-progress: true
jobs:
integration-linux:
timeout-minutes: 60
strategy:
matrix:
labels: [ubuntu-latest-16-cores, ubuntu-20-16-cores]
fail-fast: false
runs-on:
labels: ${{ matrix.labels }}
steps:
- uses: actions/checkout@v3
- name: Install Dozer
run: sudo sh .github/workflows/integration/dockerfiles/install-dozer-ubuntu-amd64.sh
- name: Install Protoc Ubuntu 22.04
if: matrix.labels == 'ubuntu-latest-16-cores'
run: sudo sh .github/workflows/integration/dockerfiles/install-protoc-ubuntu-22.sh
- name: Install Protoc Ubuntu 20.04
if: matrix.labels == 'ubuntu-20-16-cores'
run: sudo sh .github/workflows/integration/dockerfiles/install-protoc-ubuntu-20-amd64.sh
- name: Run test
run: sudo sh .github/workflows/integration/test-dozer-ubuntu.sh
integration-macos:
timeout-minutes: 60
runs-on:
labels: macos-12
steps:
- uses: actions/checkout@v3
- name: Install Dozer
run: brew tap getdozer/dozer && brew install dozer
- name: Run test
run: sh .github/workflows/integration/test-dozer.sh