|
1 |
| -name: Ubuntu AF_XDP build |
| 1 | +# name: Ubuntu AF_XDP build |
2 | 2 |
|
3 |
| -on: |
4 |
| - # allow manually trigger |
5 |
| - workflow_dispatch: |
6 |
| - push: |
7 |
| - branches: |
8 |
| - - main |
9 |
| - - 'maint-**' |
10 |
| - pull_request: |
11 |
| - branches: |
12 |
| - - main |
13 |
| - - 'maint-**' |
| 3 | +# on: |
| 4 | +# # allow manually trigger |
| 5 | +# workflow_dispatch: |
| 6 | +# push: |
| 7 | +# branches: |
| 8 | +# - main |
| 9 | +# - 'maint-**' |
| 10 | +# pull_request: |
| 11 | +# branches: |
| 12 | +# - main |
| 13 | +# - 'maint-**' |
14 | 14 |
|
15 |
| -env: |
16 |
| - # Customize the env if |
17 |
| - PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/lib64/pkgconfig |
18 |
| - DPDK_VERSION: 25.03 |
| 15 | +# env: |
| 16 | +# # Customize the env if |
| 17 | +# PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/lib64/pkgconfig |
| 18 | +# DPDK_VERSION: 25.03 |
19 | 19 |
|
20 |
| -permissions: |
21 |
| - contents: read |
| 20 | +# permissions: |
| 21 | +# contents: read |
22 | 22 |
|
23 |
| -jobs: |
24 |
| - changes: |
25 |
| - runs-on: ubuntu-latest |
26 |
| - permissions: |
27 |
| - pull-requests: read |
28 |
| - outputs: |
29 |
| - changed: ${{ steps.filter.outputs.afxdp_build == 'true' }} |
30 |
| - steps: |
31 |
| - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 23 | +# jobs: |
| 24 | +# changes: |
| 25 | +# runs-on: ubuntu-latest |
| 26 | +# permissions: |
| 27 | +# pull-requests: read |
| 28 | +# outputs: |
| 29 | +# changed: ${{ steps.filter.outputs.afxdp_build == 'true' }} |
| 30 | +# steps: |
| 31 | +# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
32 | 32 |
|
33 |
| - - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v2 |
34 |
| - id: filter |
35 |
| - with: |
36 |
| - filters: .github/path_filters.yml |
| 33 | +# - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v2 |
| 34 | +# id: filter |
| 35 | +# with: |
| 36 | +# filters: .github/path_filters.yml |
37 | 37 |
|
38 |
| - build: |
39 |
| - needs: changes |
40 |
| - if: ${{ github.repository == 'OpenVisualCloud/Media-Transport-Library' && needs.changes.outputs.changed == 'true' }} |
41 |
| - runs-on: ${{ matrix.os }} |
42 |
| - timeout-minutes: 60 |
43 |
| - container: |
44 |
| - image: ubuntu:latest |
45 |
| - strategy: |
46 |
| - matrix: |
47 |
| - os: [ubuntu-latest] |
| 38 | +# build: |
| 39 | +# needs: changes |
| 40 | +# if: ${{ github.repository == 'OpenVisualCloud/Media-Transport-Library' && needs.changes.outputs.changed == 'true' }} |
| 41 | +# runs-on: ${{ matrix.os }} |
| 42 | +# timeout-minutes: 60 |
| 43 | +# container: |
| 44 | +# image: ubuntu:latest |
| 45 | +# strategy: |
| 46 | +# matrix: |
| 47 | +# os: [ubuntu-latest] |
48 | 48 |
|
49 |
| - steps: |
50 |
| - - name: Harden Runner |
51 |
| - uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0 |
52 |
| - with: |
53 |
| - egress-policy: audit |
| 49 | +# steps: |
| 50 | +# - name: Harden Runner |
| 51 | +# uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0 |
| 52 | +# with: |
| 53 | +# egress-policy: audit |
54 | 54 |
|
55 |
| - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
56 |
| - - uses: DoozyX/clang-format-lint-action@v0.20 |
57 |
| - with: |
58 |
| - clangFormatVersion: '14' |
59 |
| - source: '.' |
60 |
| - extensions: 'hpp,h,cpp,c,cc' |
| 55 | +# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 56 | +# - uses: DoozyX/clang-format-lint-action@v0.20 |
| 57 | +# with: |
| 58 | +# clangFormatVersion: '14' |
| 59 | +# source: '.' |
| 60 | +# extensions: 'hpp,h,cpp,c,cc' |
61 | 61 |
|
62 |
| - - name: Install the build dependency |
63 |
| - run: | |
64 |
| - apt-get update -y |
65 |
| - apt-get install -y sudo git gcc meson python3 python3-pyelftools pkg-config libnuma-dev libjson-c-dev libpcap-dev libgtest-dev libsdl2-dev libsdl2-ttf-dev libssl-dev |
66 |
| - apt-get install -y make m4 clang llvm zlib1g-dev libelf-dev libcap-ng-dev gcc-multilib |
67 |
| - apt-get install -y systemtap-sdt-dev |
| 62 | +# - name: Install the build dependency |
| 63 | +# run: | |
| 64 | +# apt-get update -y |
| 65 | +# apt-get install -y sudo git gcc meson python3 python3-pyelftools pkg-config libnuma-dev libjson-c-dev libpcap-dev libgtest-dev libsdl2-dev libsdl2-ttf-dev libssl-dev |
| 66 | +# apt-get install -y make m4 clang llvm zlib1g-dev libelf-dev libcap-ng-dev gcc-multilib |
| 67 | +# apt-get install -y systemtap-sdt-dev |
68 | 68 |
|
69 |
| - - name: Install DPDK |
70 |
| - uses: ./.github/actions/dpdk |
71 |
| - with: |
72 |
| - version: ${{ env.DPDK_VERSION }} |
| 69 | +# - name: Install DPDK |
| 70 | +# uses: ./.github/actions/dpdk |
| 71 | +# with: |
| 72 | +# version: ${{ env.DPDK_VERSION }} |
73 | 73 |
|
74 | 74 |
|
75 |
| - - name: Checkout xdp-tools |
76 |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
77 |
| - with: |
78 |
| - repository: 'xdp-project/xdp-tools' |
79 |
| - path: xdp-tools |
80 |
| - submodules: recursive |
| 75 | +# - name: Checkout xdp-tools |
| 76 | +# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 77 | +# with: |
| 78 | +# repository: 'xdp-project/xdp-tools' |
| 79 | +# path: xdp-tools |
| 80 | +# submodules: recursive |
81 | 81 |
|
82 |
| - - name: Build and install xdp-tools |
83 |
| - working-directory: xdp-tools |
84 |
| - run: | |
85 |
| - ./configure |
86 |
| - make && sudo make install |
87 |
| - cd lib/libbpf/src && sudo make install |
| 82 | +# - name: Build and install xdp-tools |
| 83 | +# working-directory: xdp-tools |
| 84 | +# run: | |
| 85 | +# ./configure |
| 86 | +# make && sudo make install |
| 87 | +# cd lib/libbpf/src && sudo make install |
88 | 88 |
|
89 |
| - - name: Build |
90 |
| - working-directory: "${{ github.workspace }}" |
91 |
| - run: | |
92 |
| - ./build.sh |
| 89 | +# - name: Build |
| 90 | +# working-directory: "${{ github.workspace }}" |
| 91 | +# run: | |
| 92 | +# ./build.sh |
93 | 93 |
|
94 |
| - - name: Build with debug |
95 |
| - working-directory: "${{ github.workspace }}" |
96 |
| - run: | |
97 |
| - rm build -rf |
98 |
| - ./build.sh debug |
| 94 | +# - name: Build with debug |
| 95 | +# working-directory: "${{ github.workspace }}" |
| 96 | +# run: | |
| 97 | +# rm build -rf |
| 98 | +# ./build.sh debug |
0 commit comments