Skip to content

Commit 8842514

Browse files
willcl-arkm3dwards
andcommitted
ci: update asan-lsan-ubsan
Co-authored-by: Max Edwards <[email protected]>
1 parent f253031 commit 8842514

File tree

1 file changed

+12
-42
lines changed

1 file changed

+12
-42
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -412,48 +412,6 @@ jobs:
412412
TEST_RUNNER_EXTRA: ${{ github.event_name != 'pull_request' && '--extended' || '' }}
413413
run: py -3 test/functional/test_runner.py --jobs $NUMBER_OF_PROCESSORS --ci --quiet --tmpdirprefix="$RUNNER_TEMP" --combinedlogslen=99999999 --timeout-factor=$TEST_RUNNER_TIMEOUT_FACTOR $EXCLUDE $TEST_RUNNER_EXTRA
414414

415-
asan-lsan-ubsan-integer-no-depends-usdt:
416-
name: 'ASan + LSan + UBSan + integer, no depends, USDT'
417-
runs-on: ubuntu-24.04 # has to match container in ci/test/00_setup_env_native_asan.sh for tracing tools
418-
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
419-
timeout-minutes: 120
420-
env:
421-
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
422-
DANGER_CI_ON_HOST_FOLDERS: 1
423-
steps:
424-
- name: Checkout
425-
uses: actions/checkout@v5
426-
427-
- name: Set CI directories
428-
run: |
429-
echo "CCACHE_DIR=${{ runner.temp }}/ccache_dir" >> "$GITHUB_ENV"
430-
echo "BASE_ROOT_DIR=${{ runner.temp }}" >> "$GITHUB_ENV"
431-
echo "BASE_BUILD_DIR=${{ runner.temp }}/build-asan" >> "$GITHUB_ENV"
432-
433-
- name: Restore Ccache cache
434-
id: ccache-cache
435-
uses: actions/cache/restore@v4
436-
with:
437-
path: ${{ env.CCACHE_DIR }}
438-
key: ${{ github.job }}-ccache-${{ github.run_id }}
439-
restore-keys: ${{ github.job }}-ccache-
440-
441-
- name: Enable bpfcc script
442-
# In the image build step, no external environment variables are available,
443-
# so any settings will need to be written to the settings env file:
444-
run: sed -i "s|\${INSTALL_BCC_TRACING_TOOLS}|true|g" ./ci/test/00_setup_env_native_asan.sh
445-
446-
- name: CI script
447-
run: ./ci/test_run_all.sh
448-
449-
- name: Save Ccache cache
450-
uses: actions/cache/save@v4
451-
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
452-
with:
453-
path: ${{ env.CCACHE_DIR }}
454-
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
455-
key: ${{ github.job }}-ccache-${{ github.run_id }}
456-
457415
ci-matrix:
458416
name: ${{ matrix.name }}
459417
needs: runners
@@ -475,6 +433,12 @@ jobs:
475433
timeout-minutes: 120
476434
file-env: './ci/test/00_setup_env_arm.sh'
477435

436+
- name: 'ASan + LSan + UBSan + integer, no depends, USDT'
437+
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg' # has to match container in ci/test/00_setup_env_native_asan.sh for tracing tools
438+
fallback-runner: 'ubuntu-24.04'
439+
timeout-minutes: 120
440+
file-env: './ci/test/00_setup_env_native_asan.sh'
441+
478442
steps:
479443
- name: Checkout
480444
uses: actions/checkout@v5
@@ -491,6 +455,12 @@ jobs:
491455
with:
492456
use-cirrus: ${{ needs.runners.outputs.use-cirrus-runners }}
493457

458+
- name: Enable bpfcc script
459+
if: ${{ env.CONTAINER_NAME == 'ci_native_asan' }}
460+
# In the image build step, no external environment variables are available,
461+
# so any settings will need to be written to the settings env file:
462+
run: sed -i "s|\${INSTALL_BCC_TRACING_TOOLS}|true|g" ./ci/test/00_setup_env_native_asan.sh
463+
494464
- name: CI script
495465
run: ./ci/test_run_all.sh
496466

0 commit comments

Comments
 (0)