Skip to content

Commit

Permalink
Added dependenices for project and commented out other github actions…
Browse files Browse the repository at this point in the history
… commands.
  • Loading branch information
Daquiver1 committed Oct 19, 2023
1 parent 9420302 commit b9c30ac
Showing 1 changed file with 68 additions and 68 deletions.
136 changes: 68 additions & 68 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,75 +9,75 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Initialize Buck2 Project
run: make buck2-host
- name: Run Buck Build
- name: Initialize JDWP Project Dependencies
run: make buck2-host python2-host pyre-host
- name: Setup path environment
run: eval `make setup-env`
- name: Run Buck2 Build
run: buck2 run //projects/jdwp:main
- name: Run Buck Tests
- name: Run Buck2 Tests
run: buck2 test //projects/jdwp/tests/...
- name: Setup Pyre
run: make pyre-host
- name: Run Pyre Type Checking
run: cd projects/jdwp && pyre
build_bpftools:
name: Build bpftools archive
runs-on: ubuntu-22.04
strategy:
matrix:
env:
- ARCH: arm64
- ARCH: x86_64
steps:
- uses: actions/checkout@v3
- name: Install deps
run: sudo ./scripts/jammy-install-deps.sh
- name: Setup ndk
run: ./scripts/download-ndk.sh
- name: Build
env: ${{matrix.env}}
run: make bpftools NDK_PATH=`pwd`/android-ndk-r23b NDK_ARCH=${{ matrix.env['ARCH'] }}
- uses: actions/upload-artifact@v3
with:
name: bpftools-android-${{ matrix.env['ARCH'] }}.tar.gz
path: bpftools-${{ matrix.env['ARCH'] }}.tar.gz
build_bpftools_min:
name: Build bpftools-min archive
runs-on: ubuntu-22.04
strategy:
matrix:
env:
- ARCH: arm64
- ARCH: x86_64
steps:
- uses: actions/checkout@v3
- name: Install deps
run: sudo ./scripts/jammy-install-deps.sh
- name: Setup ndk
run: ./scripts/download-ndk.sh
- name: Build
run: make bpftools-min NDK_PATH=`pwd`/android-ndk-r23b NDK_ARCH=${{ matrix.env['ARCH'] }}
- uses: actions/upload-artifact@v3
with:
name: bpftools-min-android-${{ matrix.env['ARCH'] }}.tar.gz
path: bpftools-min-${{ matrix.env['ARCH'] }}.tar.gz
build_bpftrace_static:
name: Build static bpftrace binaries
runs-on: ubuntu-22.04
strategy:
matrix:
env:
- ARCH: arm64
- ARCH: x86_64
- ARCH: armv7
steps:
- uses: actions/checkout@v3
- name: Install deps
run: sudo ./scripts/jammy-install-deps.sh
- name: Setup ndk
run: ./scripts/download-ndk.sh
- name: Build
run: make bpftrace NDK_PATH=`pwd`/android-ndk-r23b NDK_ARCH=${{ matrix.env['ARCH'] }} STATIC_LINKING=true LLVM_BPF_ONLY=true
- uses: actions/upload-artifact@v3
with:
name: bpftrace-android-${{ matrix.env['ARCH'] }}
path: out/android/${{ matrix.env['arch'] }}/bin/bpftrace
# build_bpftools:
# name: Build bpftools archive
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# env:
# - ARCH: arm64
# - ARCH: x86_64
# steps:
# - uses: actions/checkout@v3
# - name: Install deps
# run: sudo ./scripts/jammy-install-deps.sh
# - name: Setup ndk
# run: ./scripts/download-ndk.sh
# - name: Build
# env: ${{matrix.env}}
# run: make bpftools NDK_PATH=`pwd`/android-ndk-r23b NDK_ARCH=${{ matrix.env['ARCH'] }}
# - uses: actions/upload-artifact@v3
# with:
# name: bpftools-android-${{ matrix.env['ARCH'] }}.tar.gz
# path: bpftools-${{ matrix.env['ARCH'] }}.tar.gz
# build_bpftools_min:
# name: Build bpftools-min archive
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# env:
# - ARCH: arm64
# - ARCH: x86_64
# steps:
# - uses: actions/checkout@v3
# - name: Install deps
# run: sudo ./scripts/jammy-install-deps.sh
# - name: Setup ndk
# run: ./scripts/download-ndk.sh
# - name: Build
# run: make bpftools-min NDK_PATH=`pwd`/android-ndk-r23b NDK_ARCH=${{ matrix.env['ARCH'] }}
# - uses: actions/upload-artifact@v3
# with:
# name: bpftools-min-android-${{ matrix.env['ARCH'] }}.tar.gz
# path: bpftools-min-${{ matrix.env['ARCH'] }}.tar.gz
# build_bpftrace_static:
# name: Build static bpftrace binaries
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# env:
# - ARCH: arm64
# - ARCH: x86_64
# - ARCH: armv7
# steps:
# - uses: actions/checkout@v3
# - name: Install deps
# run: sudo ./scripts/jammy-install-deps.sh
# - name: Setup ndk
# run: ./scripts/download-ndk.sh
# - name: Build
# run: make bpftrace NDK_PATH=`pwd`/android-ndk-r23b NDK_ARCH=${{ matrix.env['ARCH'] }} STATIC_LINKING=true LLVM_BPF_ONLY=true
# - uses: actions/upload-artifact@v3
# with:
# name: bpftrace-android-${{ matrix.env['ARCH'] }}
# path: out/android/${{ matrix.env['arch'] }}/bin/bpftrace

0 comments on commit b9c30ac

Please sign in to comment.