Skip to content

Commit

Permalink
Test arm64 architecture in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dzikowski <[email protected]>
  • Loading branch information
dzikowski committed Sep 24, 2024
1 parent 548a681 commit edc3de8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,40 @@ jobs:
- name: Lint
run: npm run lint && ./lint.sh

test-arm64:
runs-on: macos-14
steps:

- name: Ensure Apple M1 architecture
run: |
uname -a
if [ "$(uname -m)" = "arm64" ]; then
echo "Detected Apple M1 architecture"
else
echo "Not detected Apple M1 architecture"
exit 1
fi
- name: Check out repository code
uses: actions/checkout@v2

- name: Build Fablo
run: |
npm install && \
npm run build && \
./fablo-build.sh
- name: Test simple network
run: e2e-network/docker/test-01-simple.sh

- uses: actions/upload-artifact@v4
if: always()
with:
name: test-arm64
path: |
e2e-network/docker/test-01-simple.sh.logs/*
e2e-network/docker/test-01-simple.sh.tmpdir/fablo-target/**/*
# test-k8:
# needs: test-main
# runs-on: ubuntu-latest
Expand Down

0 comments on commit edc3de8

Please sign in to comment.