Skip to content

Commit

Permalink
Use more conventional hit term.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed May 31, 2024
1 parent cd40f2b commit 8f4e644
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-unix-static-sanitized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,41 +42,41 @@ jobs:
codec-dav1d: 'LOCAL'
codec-rav1e: 'OFF'
extra-cache-key: ${{ matrix.sanitizer }}
- id: cache-miss
run: echo "miss=$${{ (runner.os == 'Linux' && steps.setup_linux.outputs.ext-cache-hit != 'true') || (runner.os == 'macOS' && steps.setup_macos.outputs.ext-cache-hit != 'true') }}" >> "$GITHUB_OUTPUT"
- id: cache-hit
run: echo "hit=$${{ (runner.os == 'Linux' && steps.setup_linux.outputs.ext-cache-hit == 'true') || (runner.os == 'macOS' && steps.setup_macos.outputs.ext-cache-hit == 'true') }}" >> "$GITHUB_OUTPUT"

- name: Build aom
if: $${{ steps.cache-miss.outputs.miss == 'true' }}
if: $${{ steps.cache-hit.outputs.hit == 'false' }}
working-directory: ./ext
run: >
sed -i -e 's/cmake -G Ninja \(.*\) \.\./cmake -G Ninja \1 -DSANITIZE=${{ matrix.sanitizer }} ../g' aom.cmd
./aom.cmd
- name: Build dav1d
if: $${{ steps.cache-miss.outputs.miss == 'true' }}
if: $${{ steps.cache-hit.outputs.hit == 'false' }}
working-directory: ./ext
run: >
sed -i -e 's/meson setup \(.*\) \.\./meson setup \1 -Db_sanitize=${{ matrix.sanitizer }} -Db_lundef=false ../g' dav1d.cmd
./dav1d.cmd
- name: Build libyuv
if: $${{ steps.cache-miss.outputs.miss == 'true' }}
if: $${{ steps.cache-hit.outputs.hit == 'false' }}
working-directory: ./ext
run: ./libyuv.cmd
env:
CFLAGS: -fsanitize=${{ matrix.sanitizer }}
CXXFLAGS: -fsanitize=${{ matrix.sanitizer }}
LDFLAGS: -fsanitize=${{ matrix.sanitizer }}
- name: Build libsharpyuv
if: $${{ steps.cache-miss.outputs.miss == 'true' }}
if: $${{ steps.cache-hit.outputs.hit == 'false' }}
working-directory: ./ext
run: ./libsharpyuv.cmd
env:
CFLAGS: -fsanitize=${{ matrix.sanitizer }}
CXXFLAGS: -fsanitize=${{ matrix.sanitizer }}
LDFLAGS: -fsanitize=${{ matrix.sanitizer }}
- name: Build GoogleTest
if: $${{ steps.cache-miss.outputs.miss == 'true' }}
if: $${{ steps.cache-hit.outputs.hit == 'false' }}
working-directory: ./ext
# Note: "apt install googletest" is sometimes insufficient for find_package(GTest) so build in ext/ instead.
run: bash -e googletest.cmd
Expand Down

0 comments on commit 8f4e644

Please sign in to comment.