Skip to content

Commit

Permalink
Build aom with msan
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Jan 17, 2025
1 parent 5f49f84 commit c1b4fa6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci-unix-static-sanitized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ jobs:
run: |
sed -i -e 's/cmake -G Ninja \(.*\) \.\./cmake -G Ninja \1 -DAOM_TARGET_CPU=generic -DSANITIZE=${{ matrix.sanitizer }} ../g' aom.cmd
./aom.cmd
env:
CFLAGS: ${{ env.CI_CFLAGS }}
CXXFLAGS: ${{ env.CI_CXXFLAGS }}
LDFLAGS: ${{ env.CI_LDFLAGS }}
LD_LIBRARY_PATH: ${{ env.CI_LD_LIBRARY_PATH }}
- name: Build aom for other sanitizers
if: ${{ (steps.cache-hit.outputs.hit == 'false') && (matrix.sanitizer != 'memory')}}
working-directory: ./ext
Expand All @@ -110,12 +115,12 @@ jobs:
- name: Prepare dav1d for msan
if: ${{ (steps.cache-hit.outputs.hit == 'false') && (matrix.sanitizer == 'memory') }}
working-directory: ./ext
run: |
run:
sed -i -e 's/meson setup \(.*\) \.\./meson setup \1 -Db_sanitize=memory -Db_lundef=false -Denable_asm=false ../g' dav1d.cmd
- name: Prepare dav1d for other sanitizers
if: ${{ (steps.cache-hit.outputs.hit == 'false') && (matrix.sanitizer != 'memory') }}
working-directory: ./ext
run: |
run:
sed -i -e 's/meson setup \(.*\) \.\./meson setup \1 -Db_sanitize=${{ matrix.sanitizer }} -Db_lundef=false ../g' dav1d.cmd
- name: Build dav1d
if: ${{ steps.cache-hit.outputs.hit == 'false' }}
Expand Down

0 comments on commit c1b4fa6

Please sign in to comment.