File tree Expand file tree Collapse file tree 4 files changed +214
-67
lines changed Expand file tree Collapse file tree 4 files changed +214
-67
lines changed Original file line number Diff line number Diff line change 40
40
path : php-agent
41
41
repository : ${{ inputs.origin }}/newrelic-php-agent
42
42
ref : ${{ inputs.ref }}
43
- - name : Enable arm64 emulation
44
- if : ${{ inputs.arch == 'arm64' }}
45
- uses : docker/setup-qemu-action@v3
46
- with :
47
- image : tonistiigi/binfmt:${{vars.BINFMT_IMAGE_VERSION}}
48
- platforms : arm64
49
43
- name : Login to Docker Hub
50
44
uses : docker/login-action@v3
51
45
with :
Original file line number Diff line number Diff line change 56
56
run : |
57
57
chmod 755 php-agent/bin/integration_runner
58
58
chmod 755 php-agent/agent/modules/newrelic.so
59
- - name : Enable arm64 emulation
60
- if : ${{ inputs.arch == 'arm64' }}
61
- uses : docker/setup-qemu-action@v3
62
- with :
63
- image : tonistiigi/binfmt:${{vars.BINFMT_IMAGE_VERSION}}
64
- platforms : arm64
65
59
- name : Login to Docker Hub
66
60
uses : docker/login-action@v3
67
61
with :
Original file line number Diff line number Diff line change 21
21
runner-type :
22
22
description : ' Type of a runner to use for integration tests on arm64'
23
23
required : true
24
- default : ' ubuntu-20 .04-4core '
24
+ default : ' ubuntu-24 .04-arm '
25
25
type : choice
26
26
options :
27
- - ubuntu-20.04-4core
28
- - ubuntu-20.04-8core
29
- - ubuntu-20.04-16core
30
- - ubuntu-22.04-4core
31
- - ubuntu-latest
27
+ - ubuntu-22.04-arm
28
+ - ubuntu-24.04-arm
32
29
33
30
jobs :
34
31
build-test-runner-amd64 :
55
52
artifact-name : integration_runner
56
53
artifact-pattern : bin/integration_runner
57
54
arch : arm64
58
- runs-on : ubuntu-latest
55
+ runs-on : ${{inputs.runner-type}}
59
56
secrets : inherit
60
57
61
58
build-agent-amd64 :
72
69
origin : ${{ inputs.origin }}
73
70
ref : ${{ inputs.ref }}
74
71
arch : arm64
75
- runs-on : ubuntu-latest
72
+ runs-on : ${{inputs.runner-type}}
76
73
secrets : inherit
77
74
78
75
test-amd64 :
You can’t perform that action at this time.
0 commit comments