Skip to content

Commit 8b96cfc

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

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

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

+36
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,42 @@ 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+
shellcheck --version && \
63+
yamllint -v && \
64+
npm install && \
65+
npm run build && \
66+
./fablo-build.sh
67+
68+
- name: Test simple network
69+
run: e2e-network/docker/test-01-simple.sh
70+
71+
- uses: actions/upload-artifact@v4
72+
if: always()
73+
with:
74+
name: test-arm64
75+
path: |
76+
e2e-network/docker/test-01-simple.sh.logs/*
77+
e2e-network/docker/test-01-simple.sh.tmpdir/fablo-target/**/*
78+
4379
# test-k8:
4480
# needs: test-main
4581
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)