Skip to content

Commit f49da29

Browse files
committed
Skip make test on arm64
1 parent d03ff5c commit f49da29

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,26 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v1
33+
- name: Set up QEMU
34+
uses: docker/setup-qemu-action@v1
3335
- name: Build
3436
shell: bash
35-
run: make build
37+
run: make build && make build-arm64
3638
- name: Test
37-
run: make test
39+
run: make test
3840
publish:
3941
needs: [scan, test]
4042
if: github.repository == 'rust-serverless/lambda-rust'
4143
runs-on: ubuntu-latest
4244
steps:
4345
- uses: actions/checkout@v1
46+
- name: Set up QEMU
47+
uses: docker/setup-qemu-action@v1
4448
- name: Build
4549
shell: bash
46-
run: make build
50+
run: make build && make build-arm64
4751
- name: Publish Latest
4852
shell: bash
4953
run: |
5054
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
51-
make publish
55+
make publish && make publish-arm64

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v1
24+
- name: Set up QEMU
25+
uses: docker/setup-qemu-action@v1
2426
- name: Build
2527
shell: bash
26-
run: make build
28+
run: make build && make build-arm64
2729
- name: Publish
2830
shell: bash
2931
run: |
3032
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
31-
make publish-tag
33+
make publish-tag && make publish-tag-arm64

.github/workflows/untrusted.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ jobs:
99
test:
1010
runs-on: ubuntu-latest
1111
steps:
12-
-
13-
name: Set up QEMU
12+
- name: Set up QEMU
1413
uses: docker/setup-qemu-action@v1
1514
- uses: actions/checkout@v1
1615
- name: Build
17-
run: make build-arm64
16+
run: make build && make build-arm64
1817
- name: Test
1918
run: make test

tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Directory of the integration test
44
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
5-
: "${IMAGE:=rustserverless/lambda-rust:latest-arm64}"
5+
: "${IMAGE:=rustserverless/lambda-rust}"
66

77
source "${HERE}"/bashtest.sh
88

0 commit comments

Comments
 (0)