|
|
@ -17,7 +17,6 @@ jobs: |
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
fail-fast: false # Don't cancel all jobs if one fails. |
|
|
|
fail-fast: false # Don't cancel all jobs if one fails. |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
install: "valgrind" |
|
|
|
|
|
|
|
include: |
|
|
|
include: |
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "" } |
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "" } |
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "-c opt" } # Some warnings only fire with -c opt |
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "-c opt" } # Some warnings only fire with -c opt |
|
|
@ -31,7 +30,6 @@ jobs: |
|
|
|
- name: Setup Python venv |
|
|
|
- name: Setup Python venv |
|
|
|
run: rm -rf /tmp/venv && python3 -m venv /tmp/venv |
|
|
|
run: rm -rf /tmp/venv && python3 -m venv /tmp/venv |
|
|
|
- name: Install dependencies |
|
|
|
- name: Install dependencies |
|
|
|
run: sudo apt install -y ${{ matrix.install }} |
|
|
|
run: sudo apt install -y valgrind |
|
|
|
if: matrix.install != '' |
|
|
|
|
|
|
|
- name: Run tests |
|
|
|
- name: Run tests |
|
|
|
run: cd ${{ github.workspace }} && PATH=/tmp/venv/bin:$PATH CC=${{ matrix.CC }} bazel test --test_output=errors --config=valgrind python:minimal_test ${{ matrix.flags }} |
|
|
|
run: cd ${{ github.workspace }} && PATH=/tmp/venv/bin:$PATH CC=${{ matrix.CC }} bazel test --test_output=errors --config=valgrind python:minimal_test ${{ matrix.flags }} |
|
|
|