diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8de308b2..56ae3c67 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -95,25 +95,25 @@ jobs: if ${{ matrix.logging }}"" == "true" ; then export QUIC_ENABLE_LOGGING=ON - fi - sudo apt-add-repository ppa:lttng/stable-2.13 - sudo apt-get update - sudo apt-get install -y lttng-tools lttng-modules-dkms babeltrace liblttng-ust-dev - which lttng - uname -a - mkdir msquic_lttng - lttng create msquic -o=./msquic_lttng - lttng enable-event --userspace CLOG_* - lttng add-context --userspace --type=vpid --type=vtid - lttng start + sudo apt-add-repository ppa:lttng/stable-2.13 + sudo apt-get update + sudo apt-get install -y lttng-tools lttng-modules-dkms babeltrace liblttng-ust-dev + which lttng + uname -a + mkdir msquic_lttng + lttng create msquic -o=./msquic_lttng + lttng enable-event --userspace CLOG_* + lttng add-context --userspace --type=vpid --type=vtid + lttng start - cleanup () { - lttng stop msquic; - babeltrace --names all ./msquic_lttng/* > _build/test/quic.babel.txt - } + cleanup () { + lttng stop msquic; + babeltrace --names all ./msquic_lttng/* > _build/test/quic.babel.txt + } + trap "cleanup" EXIT + fi - trap "cleanup" EXIT make ci - name: Archive CT Logs uses: actions/upload-artifact@v2