From d03268a4fb2c800ca8b162644b689c79966c8f92 Mon Sep 17 00:00:00 2001 From: Max Tropets Date: Tue, 23 Jul 2024 10:12:41 +0000 Subject: [PATCH] First try --- .github/workflows/long-test.yml | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/long-test.yml 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