From e213df0e5ce3ab81e843deff464cf30aca57b0a8 Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Tue, 24 Sep 2024 12:01:43 +0100 Subject: [PATCH] Add long LTS to long tests (#6497) --- .github/workflows/long-test.yml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/long-test.yml b/.github/workflows/long-test.yml index ce24f1bd48ca..4377a860f0bc 100644 --- a/.github/workflows/long-test.yml +++ b/.github/workflows/long-test.yml @@ -109,3 +109,40 @@ jobs: build/workspace/*/out build/workspace/*/err if-no-files-found: ignore + + long-lts: + if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-test') }} + name: LTS + runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub] + container: + image: ghcr.io/microsoft/ccf/ci/default:build-25-07-2024 + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: "Build" + run: | + git config --global --add safe.directory /__w/CCF/CCF + mkdir build + cd build + cmake -GNinja -DCOMPILE_TARGET=virtual -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DLVI_MITIGATIONS=OFF -DWORKER_THREADS=2 .. + ninja + + - name: "Test" + run: | + set +x + cd build + ./tests.sh --output-on-failure --timeout 1600 -R lts + + - name: "Upload logs" + if: success() || failure() + uses: actions/upload-artifact@v4 + with: + name: logs-lts + path: | + build/workspace/*/*.config.json + build/workspace/*/out + build/workspace/*/err + if-no-files-found: ignore