diff --git a/.github/workflows/long-test.yml b/.github/workflows/long-test.yml new file mode 100644 index 000000000000..d04dcffe9047 --- /dev/null +++ b/.github/workflows/long-test.yml @@ -0,0 +1,46 @@ +name: CI + +on: + schedule: + - cron: "0 0 * * *" + pull_request: # TODO remove this before merge + +permissions: + contents: read + actions: read + checks: write + +jobs: + long-asan: + name: Long ASAN + runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub] + container: + image: ghcr.io/microsoft/ccf/ci/default:build-26-06-2024 + steps: + - name: "Build" + run: | + mkdir build + cd build + cmake -GNinja -DCOMPILE_TARGET=virtual -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DLVI_MITIGATIONS=OFF -DSAN=ON .. + ninja + - name: "Test" + run: | + set +x + ./tests.sh -VV --timeout 1600 --no-compress-output -LE "benchmark|perf + + long-tsan: + name: Long TSAN + runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub] + container: + image: ghcr.io/microsoft/ccf/ci/default:build-26-06-2024 + steps: + - name: "Build" + run: | + mkdir build + cd build + cmake -GNinja -DCOMPILE_TARGET=virtual -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DLVI_MITIGATIONS=OFF -DTSAN=ON -DWORKER_THREADS=2 .. + ninja + - name: "Test" + run: | + set +x + ./tests.sh -VV --timeout 1600 --no-compress-output -LE "benchmark|perf \ No newline at end of file