From a769ab3a405c98ab8e58875795074e1abcbcc2b2 Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Wed, 25 Oct 2023 17:59:33 +0100 Subject: [PATCH] Logging out events from the OOM killer --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce22cd04..d4bedf37 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,6 +53,9 @@ jobs: run: dotnet build LLamaSharp.sln -c ${{ matrix.config }} --no-restore - name: Test run: dotnet test LLamaSharp.sln -c ${{ matrix.config }} -l "console;verbosity=detailed" --diag:logs/log.txt + - name: OOM Killer Log + if: runner.os == 'Linux' + run: dmesg -T | egrep -i 'killed process' > logs/dmesg.log - name: Upload artifacts if: always() uses: actions/upload-artifact@v3