diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 49f3489..03e9d6d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -37,10 +37,10 @@ jobs: - name: Build run: | - if [[ -z "${{ matrix.compiler }}" ]]; then + if [[ -z "${{ matrix.sanitizers }}" ]]; then SAN="" else - SAN="-fsanitize=${{ matrix.compiler }}" + SAN="-fsanitize=${{ matrix.sanitizers }}" fi bear -- make compile \ COMPILER=${{ matrix.compiler }} \