File tree Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 2929 - {arch: "arm64-v8a"}
3030
3131 steps :
32- - uses : actions/checkout@v3
32+ - uses : actions/checkout@v4
3333
3434 - name : Configure CMake
3535 run : |
Original file line number Diff line number Diff line change 4444 # runs all steps in the container configured in config.docker or as subprocesses when empty
4545 container : ${{ matrix.config.docker }}
4646 steps :
47- - uses : actions/checkout@v3
47+ - uses : actions/checkout@v4
4848 - name : set up build environment in container
4949 run : |
5050 set -x
@@ -112,14 +112,22 @@ jobs:
112112 fi
113113
114114 # run internal tests, ignore test failures on docker (missing IPv6 connectivity)
115- - name : unit tests (internal functions)
116- run : ' install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes || test ! -z "${{ matrix.config.docker }}"'
117- timeout-minutes : 5
118-
119- - name : unit tests (exported functions)
120- run : install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
121- timeout-minutes : 5
122- if : ${{ success() || failure() }}
115+ - name : unit tests
116+ run : |
117+ if [[ "${{ matrix.config.name }}" = ubuntu-2* ]]; then
118+ ulimit -c unlimited
119+ echo "$PWD/dumps/corefile-%e-%p-%t" | sudo tee /proc/sys/kernel/core_pattern
120+ fi
121+ mkdir -p dumps
122+ install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes || test ! -z "${{ matrix.config.docker }}"
123+ install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
124+ timeout-minutes : 10
125+ - name : upload dump
126+ if : failure()
127+ uses : actions/upload-artifact@master
128+ with :
129+ name : dumps-${{ matrix.config.name }}
130+ path : dumps
123131 - name : upload to release page
124132 if : github.event_name == 'release'
125133 env :
Original file line number Diff line number Diff line change 2424 shell : ' msys2 {0}'
2525
2626 steps :
27- - uses : actions/checkout@v3
27+ - uses : actions/checkout@v4
2828 - uses : msys2/setup-msys2@v2
2929 with :
3030 release : false
Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ defaults:
2020 shell : bash
2121
2222env :
23- LLVM_VERSION : 17
23+ LLVM_VERSION : 18
2424
2525jobs :
2626 build :
2727 name : " ${{ github.event.inputs.sanitizer }}"
2828 runs-on : ' ubuntu-latest'
2929
3030 steps :
31- - uses : actions/checkout@v3
31+ - uses : actions/checkout@v4
3232 - name : Install build toolchain
3333 run : |
3434 curl -sSL https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/llvm.gpg
You can’t perform that action at this time.
0 commit comments