Skip to content

Commit e213df0

Browse files
authored
Add long LTS to long tests (#6497)
1 parent 4b16707 commit e213df0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/long-test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,40 @@ jobs:
109109
build/workspace/*/out
110110
build/workspace/*/err
111111
if-no-files-found: ignore
112+
113+
long-lts:
114+
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-test') }}
115+
name: LTS
116+
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
117+
container:
118+
image: ghcr.io/microsoft/ccf/ci/default:build-25-07-2024
119+
120+
steps:
121+
- uses: actions/checkout@v4
122+
with:
123+
fetch-depth: 0
124+
125+
- name: "Build"
126+
run: |
127+
git config --global --add safe.directory /__w/CCF/CCF
128+
mkdir build
129+
cd build
130+
cmake -GNinja -DCOMPILE_TARGET=virtual -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DLVI_MITIGATIONS=OFF -DWORKER_THREADS=2 ..
131+
ninja
132+
133+
- name: "Test"
134+
run: |
135+
set +x
136+
cd build
137+
./tests.sh --output-on-failure --timeout 1600 -R lts
138+
139+
- name: "Upload logs"
140+
if: success() || failure()
141+
uses: actions/upload-artifact@v4
142+
with:
143+
name: logs-lts
144+
path: |
145+
build/workspace/*/*.config.json
146+
build/workspace/*/out
147+
build/workspace/*/err
148+
if-no-files-found: ignore

0 commit comments

Comments
 (0)