Skip to content

Commit

Permalink
debug actions true/false
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
  • Loading branch information
LucaGuerra committed Mar 26, 2024
1 parent b4d7df7 commit 66f6cfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
with:
arch: x86_64
version: ${{ needs.fetch-version.outputs.version }}
sanitizers: 'true'
sanitizers: true

build-dev-packages-arm64:
needs: [fetch-version]
uses: ./.github/workflows/reusable_build_packages.yaml
with:
arch: aarch64
version: ${{ needs.fetch-version.outputs.version }}
sanitizers: 'true'
sanitizers: true

test-dev-packages:
needs: [fetch-version, build-dev-packages]
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reusable_build_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
curl -L https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz \
| tar --directory=/usr --strip-components=1 -xzp
- name: Check sanitizer value
run: echo "${{ inputs.sanitizers }}"

- name: Prepare project
run: |
source /opt/rh/devtoolset-9/enable
Expand All @@ -83,7 +86,7 @@ jobs:
-DMODERN_BPF_SKEL_DIR=/tmp \
-DBUILD_DRIVER=Off \
-DBUILD_BPF=Off \
${{ (inputs.sanitizers == 'true' && '-DUSE_ASAN=On -DUSE_UBSAN=On' || '' ) }} \
${{ (inputs.sanitizers == 'true' && '-DUSE_ASAN=On -DUSE_UBSAN=On') || '' }} \
-DFALCO_VERSION=${{ inputs.version }}
- name: Build project
Expand Down

0 comments on commit 66f6cfa

Please sign in to comment.