Skip to content

Commit edc3de8

Browse files
committed
Test arm64 architecture in CI
Signed-off-by: Jakub Dzikowski <[email protected]>
1 parent 548a681 commit edc3de8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/test-on-push.yml

+34
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,40 @@ jobs:
4040
- name: Lint
4141
run: npm run lint && ./lint.sh
4242

43+
test-arm64:
44+
runs-on: macos-14
45+
steps:
46+
47+
- name: Ensure Apple M1 architecture
48+
run: |
49+
uname -a
50+
if [ "$(uname -m)" = "arm64" ]; then
51+
echo "Detected Apple M1 architecture"
52+
else
53+
echo "Not detected Apple M1 architecture"
54+
exit 1
55+
fi
56+
57+
- name: Check out repository code
58+
uses: actions/checkout@v2
59+
60+
- name: Build Fablo
61+
run: |
62+
npm install && \
63+
npm run build && \
64+
./fablo-build.sh
65+
66+
- name: Test simple network
67+
run: e2e-network/docker/test-01-simple.sh
68+
69+
- uses: actions/upload-artifact@v4
70+
if: always()
71+
with:
72+
name: test-arm64
73+
path: |
74+
e2e-network/docker/test-01-simple.sh.logs/*
75+
e2e-network/docker/test-01-simple.sh.tmpdir/fablo-target/**/*
76+
4377
# test-k8:
4478
# needs: test-main
4579
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)