Skip to content

Commit

Permalink
ci: arm64 for gtping tests
Browse files Browse the repository at this point in the history
Using artifact paths for gtping too
  • Loading branch information
vjardin committed Aug 2, 2024
1 parent d40a614 commit 3d5bdc8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/actions-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
test/
build-gtping:
name: Build gtping
runs-on: $${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Upload gtping artifacts
uses: actions/upload-artifact@v4
with:
name : artifact-gtping
name : artifact-gtping-${{ matrix.arch }}
path : src/gtping
test-using-gtping:
name: gtp-guard test using gtping
Expand All @@ -71,6 +71,7 @@ jobs:
matrix:
os: [ ubuntu-latest ]
arch: [x86_64, arm64]
compiler: [ gcc, clang ]
steps:
- name: add missing packages
uses: ConorMacBride/install-package@v1
Expand Down Expand Up @@ -101,13 +102,14 @@ jobs:
shell: bash
run : |
APATH="bin/artifact-gtp-guard-${{ matrix.compiler }}-${{ matrix.arch }}"
APING="bin/artifact-gtping-${{ matrix.arch }}"
ls -R -la
chmod 755 $APATH/bin/gtp-guard
chmod 755 bin/artifact-gtping/gtping
chmod 755 $APING/gtping
chmod 755 $APATH/test/testenv.sh
chmod 755 $PATH/test/gtpu-ping.py
chmod 755 $APATH/test/gtpu-ping.py
sudo $APATH/test/testenv.sh \
-i bin/artifact-gtping/gtping \
-i $APING/gtping \
-u $APATH/test/gtpu-ping.py \
-g $APATH/bin/gtp-guard \
-c etc/gtp-guard.conf \
Expand Down

0 comments on commit 3d5bdc8

Please sign in to comment.