Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily -> GHA #6386

Merged
merged 16 commits into from
Jul 25, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/workflows/long-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Long Test

on:
schedule:
- cron: "0 0 * * 1-5"
pull_request: # TODO remove this before merge
achamayou marked this conversation as resolved.
Show resolved Hide resolved
maxtropets marked this conversation as resolved.
Show resolved Hide resolved
workflow_dispatch:

jobs:
scan_build:
name: "Scan build"
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-26-06-2024

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Run scan"
run: |
set -x
mkdir build
cd build
../scripts/scan-build.sh

long-asan:
name: Long ASAN
maxtropets marked this conversation as resolved.
Show resolved Hide resolved
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-26-06-2024

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Install deps"
run: |
sudo apt-get -y update
sudo apt install ansible -y
cd getting_started/setup_vm
ansible-playbook ccf-extended-testing.yml

- name: "Build"
run: |
git config --global --add safe.directory /__w/CCF/CCF
maxtropets marked this conversation as resolved.
Show resolved Hide resolved
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
cd build
./tests.sh -VV --timeout 1600 --no-compress-output -LE "benchmark|perf"
maxtropets marked this conversation as resolved.
Show resolved Hide resolved

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:
- 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 -DTSAN=ON -DWORKER_THREADS=2 ..
ninja

- name: "Test"
run: |
set +x
cd build
./tests.sh -VV --timeout 1600 --no-compress-output -LE "benchmark|perf"
maxtropets marked this conversation as resolved.
Show resolved Hide resolved
Loading