Skip to content

Commit

Permalink
ci: Temporarily modify to debug corellium-gateway issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed May 12, 2024
1 parent ba13090 commit fe86f1f
Showing 1 changed file with 51 additions and 41 deletions.
92 changes: 51 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:

jobs:
gir:
if: false
runs-on: ubuntu-latest
steps:
- name: Check out repo
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
build/gum/Gum-1.0.typelib
native:
if: false
strategy:
matrix:
include:
Expand Down Expand Up @@ -101,6 +103,7 @@ jobs:
run: make test

cross:
if: false
strategy:
matrix:
include:
Expand Down Expand Up @@ -137,6 +140,7 @@ jobs:
path: build/bindings/gumjs/devkit/

manylinux:
if: false
strategy:
matrix:
arch: [x86, x86_64, x86_64-musl, armhf, arm64, arm64-musl, mips, mipsel, mips64, mips64el]
Expand Down Expand Up @@ -171,10 +175,10 @@ jobs:
matrix:
id:
- ios-arm64
- android-x86
- android-x86_64
- android-arm
- android-arm64
#- android-x86
#- android-x86_64
#- android-arm
#- android-arm64
fail-fast: false
runs-on: ${{ startsWith(matrix.id, 'ios-') && 'macos-latest' || 'ubuntu-latest' }}
steps:
Expand All @@ -186,47 +190,53 @@ jobs:
run: |
./configure --host=${{ matrix.id }} ${{ env.GUM_OPTIONS }}
make
- name: Upload Gum devkit
uses: actions/upload-artifact@v4
with:
name: gum-devkit-${{ matrix.id }}
path: build/gum/devkit/
- name: Upload GumJS devkit
uses: actions/upload-artifact@v4
with:
name: gumjs-devkit-${{ matrix.id }}
path: build/bindings/gumjs/devkit/
#- name: Upload Gum devkit
# uses: actions/upload-artifact@v4
# with:
# name: gum-devkit-${{ matrix.id }}
# path: build/gum/devkit/
#- name: Upload GumJS devkit
# uses: actions/upload-artifact@v4
# with:
# name: gumjs-devkit-${{ matrix.id }}
# path: build/bindings/gumjs/devkit/
- name: Package tests
run: tar -C build/tests -czf /tmp/runner.tar.gz gum-tests data/
- name: Test on Corellium iOS device
if: matrix.id == 'ios-arm64'
uses: frida/corellium-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
gateway: corellium.frida.re
device: ios-12.5.7-arm64
upload: /tmp/runner.tar.gz
run: |
cd /usr/local
rm -rf opt/frida
mkdir -p opt/frida
cd opt/frida
tar xf $ASSET_PATH
./gum-tests
- name: Test on Corellium Android device
if: matrix.id == 'android-arm64'
uses: frida/corellium-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
gateway: corellium.frida.re
device: android-8.1.0-arm64
upload: /tmp/runner.tar.gz
run: |
cd /data/local/tmp
tar xf $ASSET_PATH
./gum-tests
- name: Upload tests
uses: actions/upload-artifact@v4
with:
name: gum-tests-${{ matrix.id }}
path: /tmp/runner.tar.gz
#- name: Test on Corellium iOS device
# if: matrix.id == 'ios-arm64'
# uses: frida/corellium-action@v4
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# gateway: corellium.frida.re
# device: ios-12.5.7-arm64
# upload: /tmp/runner.tar.gz
# run: |
# cd /usr/local
# rm -rf opt/frida
# mkdir -p opt/frida
# cd opt/frida
# tar xf $ASSET_PATH
# ./gum-tests
#- name: Test on Corellium Android device
# if: matrix.id == 'android-arm64'
# uses: frida/corellium-action@v4
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# gateway: corellium.frida.re
# device: android-8.1.0-arm64
# upload: /tmp/runner.tar.gz
# run: |
# cd /data/local/tmp
# tar xf $ASSET_PATH
# ./gum-tests

qnx-armeabi:
if: false
runs-on: ubuntu-latest
container: ghcr.io/frida/qnx-tools:latest
steps:
Expand Down

0 comments on commit fe86f1f

Please sign in to comment.