File tree Expand file tree Collapse file tree 5 files changed +18
-11
lines changed Expand file tree Collapse file tree 5 files changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -30,22 +30,27 @@ jobs:
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- uses : actions/checkout@v1
33
+ - name : Set up QEMU
34
+ uses : docker/setup-qemu-action@v1
33
35
- name : Build
34
36
shell : bash
35
- run : make build
37
+ run : make build && make build-arm64
36
38
- name : Test
37
- run : make test
39
+ # skipping the test on arm64 because it's slow
40
+ run : make test
38
41
publish :
39
42
needs : [scan, test]
40
43
if : github.repository == 'rust-serverless/lambda-rust'
41
44
runs-on : ubuntu-latest
42
45
steps :
43
46
- uses : actions/checkout@v1
47
+ - name : Set up QEMU
48
+ uses : docker/setup-qemu-action@v1
44
49
- name : Build
45
50
shell : bash
46
- run : make build
51
+ run : make build && make build-arm64
47
52
- name : Publish Latest
48
53
shell : bash
49
54
run : |
50
55
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
51
- make publish
56
+ make publish && make publish-arm64
Original file line number Diff line number Diff line change @@ -21,11 +21,13 @@ jobs:
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- uses : actions/checkout@v1
24
+ - name : Set up QEMU
25
+ uses : docker/setup-qemu-action@v1
24
26
- name : Build
25
27
shell : bash
26
- run : make build
28
+ run : make build && make build-arm64
27
29
- name : Publish
28
30
shell : bash
29
31
run : |
30
32
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
31
- make publish-tag
33
+ make publish-tag && make publish-tag-arm64
Original file line number Diff line number Diff line change 9
9
test :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- -
13
- name : Set up QEMU
12
+ - name : Set up QEMU
14
13
uses : docker/setup-qemu-action@v1
15
14
- uses : actions/checkout@v1
16
15
- name : Build
17
- run : make build-arm64
16
+ run : make build && make build -arm64
18
17
- name : Test
18
+ # skipping the test on arm64 because it's slow
19
19
run : make test
Original file line number Diff line number Diff line change 2
2
3
3
# Directory of the integration test
4
4
HERE=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
5
- : " ${IMAGE:= rustserverless/ lambda-rust: latest-arm64 } "
5
+ : " ${IMAGE:= rustserverless/ lambda-rust} "
6
6
7
7
source " ${HERE} " /bashtest.sh
8
8
You can’t perform that action at this time.
0 commit comments