Skip to content

Commit

Permalink
Uncommented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daquiver1 committed Oct 25, 2023
1 parent d34e405 commit a2a44f0
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 90 deletions.
130 changes: 65 additions & 65 deletions .github/workflows/bpftools.yml
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
# name: Build bpftools archives
name: Build bpftools archives

# on: [push, pull_request]
on: [push, pull_request]

# jobs:
# 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 dependencies
# 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
jobs:
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 dependencies
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 dependencies
# 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_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 dependencies
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 dependencies
# 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_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 dependencies
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
50 changes: 25 additions & 25 deletions .github/workflows/jdwp.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# name: Build jdwp project
name: Build jdwp project

# on: [push, pull_request]
on: [push, pull_request]

# jobs:
# build_jdwp_project:
# name: Build and Test JDWP Project
# runs-on: ubuntu-22.04
jobs:
build_jdwp_project:
name: Build and Test JDWP Project
runs-on: ubuntu-22.04

# steps:
# - name: Checkout repository and submodules
# uses: actions/checkout@v3
# with:
# submodules: recursive
# - name: Initialize JDWP Project Dependencies
# run: make buck2-host python-host pyre-host
# - name: Build and run
# run: |
# eval `make setup-env`
# buck2 run //projects/jdwp:main
# - name: Run Tests
# run: |
# eval `make setup-env`
# buck2 test //projects/jdwp/tests/...
# - name: Run Pyre Type Checking
# run: |
# eval `make setup-env`
# cd projects/jdwp && pyre check
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Initialize JDWP Project Dependencies
run: make buck2-host python-host pyre-host
- name: Build and run
run: |
eval `make setup-env`
buck2 run //projects/jdwp:main
- name: Run Tests
run: |
eval `make setup-env`
buck2 test //projects/jdwp/tests/...
- name: Run Pyre Type Checking
run: |
eval `make setup-env`
cd projects/jdwp && pyre check

0 comments on commit a2a44f0

Please sign in to comment.