Skip to content

Commit

Permalink
test package
Browse files Browse the repository at this point in the history
  • Loading branch information
leoparente committed Jan 13, 2025
1 parent fb65eec commit 977fc19
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-cpp/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ function move() {
cp -rf /pktvisor-src/build/bin/crashpad_handler /github/workspace/
cp -rf /pktvisor-src/build/bin/pktvisor-reader /github/workspace/
cp -rf /pktvisor-src/build/VERSION /github/workspace/
cp -rf /pktvisor-src/build/ /github/workspace/build/
cp -rf /pktvisor-src/build/p/ /github/workspace/build/
cp -rf /pktvisor-src/golang/pkg/client/version.go /github/workspace/version.go
cp -rf /pktvisor-src/src/tests/fixtures/pktvisor-port-service-names.csv /github/workspace/custom-iana.csv
}

function publishToBugsplat() {
echo "========================= Publishing symbol to bugsplat ========================="
cd /tmp/build
cd /pktvisor-src/build/
if [ "$INPUT_BUGSPLAT" == "true" ]; then
wget https://github.com/orb-community/CrashpadTools/raw/main/linux/dump_syms
chmod a+x ./dump_syms
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down Expand Up @@ -403,7 +403,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-arm64-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-arm64-

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-arm64-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-arm64-

Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}//build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}/build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Setup Conan Cache
uses: actions/cache@v4
with:
path: ${{github.workspace}}/build/conan_home/
path: ${{github.workspace}}/build/p/
key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py', '*/conanfile.py') }}
restore-keys: conan-${{ runner.os }}-

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
# build and run tests
sudo make all test
#remove conan files
rm -rf conan_home/
rm -rf p/
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand All @@ -87,7 +87,7 @@ jobs:
uses: advanced-security/filter-sarif@v1
with:
patterns: |
-pktvisor/build/conan_home/**/*
-pktvisor/build/p/**/*
input: sarif-results/cpp.sarif
output: sarif-results/cpp.sarif

Expand Down

0 comments on commit 977fc19

Please sign in to comment.