Skip to content

Commit f6fda7d

Browse files
committed
Update config: upload coredumps, update checkout action
1 parent 6c0e410 commit f6fda7d

File tree

4 files changed

+21
-13
lines changed

4 files changed

+21
-13
lines changed

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- {arch: "arm64-v8a"}
3030

3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333

3434
- name: Configure CMake
3535
run: |

.github/workflows/cppcmake.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
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:

.github/workflows/mingw_static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
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

.github/workflows/sanitize.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ defaults:
2020
shell: bash
2121

2222
env:
23-
LLVM_VERSION: 17
23+
LLVM_VERSION: 18
2424

2525
jobs:
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

0 commit comments

Comments
 (0)