Skip to content

Commit 2f9ea00

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

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,27 @@ 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+
# skipping the test on arm64 because it's slow
40+
run: make test
3841
publish:
3942
needs: [scan, test]
4043
if: github.repository == 'rust-serverless/lambda-rust'
4144
runs-on: ubuntu-latest
4245
steps:
4346
- uses: actions/checkout@v1
47+
- name: Set up QEMU
48+
uses: docker/setup-qemu-action@v1
4449
- name: Build
4550
shell: bash
46-
run: make build
51+
run: make build && make build-arm64
4752
- name: Publish Latest
4853
shell: bash
4954
run: |
5055
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
51-
make publish
56+
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ 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
18+
# skipping the test on arm64 because it's slow
1919
run: make test

tests/test-func/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)