|
|
|
@ -22,12 +22,15 @@ jobs: |
|
|
|
|
- { CC: gcc, os: ubuntu-20.04, flags: "-c opt" } |
|
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "--//:fasttable_enabled=true -- -cmake:test_generated_files" } |
|
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "--config=asan -- -benchmarks:benchmark -python:all" } |
|
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "--config=valgrind ... -- -cmake:cmake_build" } |
|
|
|
|
- { CC: clang, os: ubuntu-20.04, flags: "--config=valgrind ... -- -cmake:cmake_build", install: "valgrind" } |
|
|
|
|
- { CC: clang, os: macos-11, flags: "" } |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
- name: Setup Python venv |
|
|
|
|
run: rm -rf /tmp/venv && python3 -m venv /tmp/venv |
|
|
|
|
- name: Install dependencies |
|
|
|
|
run: sudo apt install -y ${{ matrix.install }} |
|
|
|
|
if: matrix.install != '' |
|
|
|
|
- name: Run tests |
|
|
|
|
run: cd ${{ github.workspace }} && PATH=/tmp/venv/bin:$PATH CC=${{ matrix.CC }} bazel test --test_output=errors ... ${{ matrix.flags }} |
|
|
|
|