File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 arch : aarch64
3737 version : ${{ needs.fetch-version.outputs.version }}
3838 enable_debug : true
39+ enable_sanitizers : true
3940 use_mimalloc : true
4041
4142 test-dev-packages :
6263 with :
6364 arch : aarch64
6465 version : ${{ needs.fetch-version.outputs.version }}
66+ sanitizers : true
6567
6668 build-dev-minimal :
6769 uses : ./.github/workflows/reusable_build_dev.yaml
Original file line number Diff line number Diff line change 5353 sudo apt update -y
5454 sudo apt install -y libasan5 libubsan1
5555
56+ - name : Enable core dumps
57+ if : inputs.arch == 'aarch64'
58+ run : |
59+ sudo sysctl -w kernel.core_pattern=/tmp/core.%e.%p
60+ sudo prlimit --pid "$PPID" --core=unlimited:unlimited
61+
5662 - name : Run tests
5763 env :
5864 LSAN_OPTIONS : " intercept_tls_get_addr=0"
6672 test-drivers : ' true'
6773 show-all : ' true'
6874 report-name-suffix : ${{ inputs.static && '-static' || '' }}${{ inputs.sanitizers && '-sanitizers' || '' }}
75+
76+ - name : Upload core dumps
77+ if : inputs.arch == 'aarch64' && failure()
78+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
79+ with :
80+ name : core-dumps-arm64
81+ path : /tmp/core.*
82+ if-no-files-found : ignore
Original file line number Diff line number Diff line change 3535 # FALCOSECURITY_LIBS_VERSION. In case you want to test against another driver version (or
3636 # branch, or commit) just pass the variable - ie., `cmake -DDRIVER_VERSION=dev ..`
3737 if (NOT DRIVER_VERSION)
38- set (DRIVER_VERSION "ed3ac8a370d5a3d946ed735df40c85fc7395052e " )
38+ set (DRIVER_VERSION "f570904183761a2585d6886fe2adc28db8f7309f " )
3939 set (DRIVER_CHECKSUM
40- "SHA256=ef21c3e15038aa2ba2be5841e7cde0d6675ecffb6e2840468fe81418d97ec95f "
40+ "SHA256=390644a78157154684a126eaf92106fbd7a328ab62b52852864056248e83f524 "
4141 )
4242 endif ()
4343
Original file line number Diff line number Diff line change 4242 # version (or branch, or commit) just pass the variable - ie., `cmake
4343 # -DFALCOSECURITY_LIBS_VERSION=dev ..`
4444 if (NOT FALCOSECURITY_LIBS_VERSION)
45- set (FALCOSECURITY_LIBS_VERSION "ed3ac8a370d5a3d946ed735df40c85fc7395052e " )
45+ set (FALCOSECURITY_LIBS_VERSION "f570904183761a2585d6886fe2adc28db8f7309f " )
4646 set (FALCOSECURITY_LIBS_CHECKSUM
47- "SHA256=ef21c3e15038aa2ba2be5841e7cde0d6675ecffb6e2840468fe81418d97ec95f "
47+ "SHA256=390644a78157154684a126eaf92106fbd7a328ab62b52852864056248e83f524 "
4848 )
4949 endif ()
5050
You can’t perform that action at this time.
0 commit comments