-
Notifications
You must be signed in to change notification settings - Fork 10
87 lines (78 loc) · 2.79 KB
/
mta-platforms-verify.yml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Test MTA works on various platforms
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
verify-mta-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Run MTA
run: docker run -v $(pwd):/opt/project:z -u $(id -u):$(id -g) quay.io/rhappsvcs/spring-to-quarkus-mta-cli:latest
- name: Assert MTA output
run: .github/workflows/scripts/assertMta.sh
# verify-mta-macos-10-podman:
# runs-on: macos-10.15
# steps:
# - name: Checkout project
# uses: actions/checkout@v2
# - name: Install podman
# run: .github/workflows/scripts/install-podman-macos.sh
# - name: Run MTA
# run: podman run -v $GITHUB_WORKSPACE:/opt/project:z,U quay.io/edeandrea/mta-cli:latest
# - name: Assert MTA output
# run: .github/workflows/scripts/assertMta.sh
# verify-mta-macos-11-podman:
# runs-on: macos-11
# steps:
# - name: Checkout project
# uses: actions/checkout@v2
# - name: Install podman
# run: .github/workflows/scripts/install-podman-macos.sh
# - name: Run MTA
# run: podman run -v $GITHUB_WORKSPACE:/opt/project:z,U quay.io/edeandrea/mta-cli:latest
# - name: Assert MTA output
# run: .github/workflows/scripts/assertMta.sh
# verify-mta-macos-10:
# runs-on: macos-10.15
# steps:
# - name: Checkout project
# uses: actions/checkout@v2
# - name: Install docker
# run: .github/workflows/scripts/install-docker-macos.sh
# - name: Run MTA
# run: |
# eval $(docker-machine env mta)
# docker run -v $(pwd):/opt/project -u $(id -u):$(id -g) quay.io/edeandrea/mta-cli:latest
# - name: Assert MTA output
# run: .github/workflows/scripts/assertMta.sh
# verify-mta-macos-11:
# runs-on: macos-11
# steps:
# - name: Checkout project
# uses: actions/checkout@v2
# - name: Install docker
# run: .github/workflows/scripts/install-docker-macos.sh
# - name: Run MTA
# run: |
# eval $(docker-machine env mta)
# docker run -v $(pwd):/opt/project -u $(id -u):$(id -g) quay.io/edeandrea/mta-cli:latest
# - name: Assert MTA output
# run: .github/workflows/scripts/assertMta.sh
# verify-mta-windows:
# runs-on: windows-latest
# steps:
# - name: Checkout project
# uses: actions/checkout@v2
# - name: Switch to linux container
# run: "& $Env:ProgramFiles\\Docker\\Docker\\DockerCli.exe -SwitchDaemon"
# - name: Run MTA
# run: docker run -v %cd%:/opt/project quay.io/edeandrea/mta-cli:latest
# - name: Assert MTA output
# run: .github/workflows/scripts/assertMta.bat