name: "Infrastructure Stress Test" on: [push] jobs: parallel-builds: runs-on: [linux, windows] strategy: matrix: task_id: [1, 2, 3, 4, 5, 6, 7, 8] steps: - uses: actions/checkout@v4 - name: Compile with Clang 21 run: clang++ -std=c++23 -O2 main.cpp -o app_${{ matrix.task_id }} - name: Run intensive calculation run: ./app_${{ matrix.task_id }} memory-analysis: runs-on: valgrind steps: - uses: actions/checkout@v4 - name: Build for Debug run: clang++ -std=c++23 -g -O0 main.cpp -o app_debug - name: Valgrind Memcheck run: | valgrind --leak-check=full \ --show-leak-kinds=all \ --error-exitcode=1 \ ./app_debug