Skip to content

Commit

Permalink
Update config: upload coredumps, update checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
tstenner committed Mar 9, 2024
1 parent 1ea1784 commit 5d46e65
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- {arch: "arm64-v8a"}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Configure CMake
run: |
Expand Down
26 changes: 17 additions & 9 deletions .github/workflows/cppcmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# runs all steps in the container configured in config.docker or as subprocesses when empty
container: ${{ matrix.config.docker }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: set up build environment in container
run: |
set -x
Expand Down Expand Up @@ -112,14 +112,22 @@ jobs:
fi
# run internal tests, ignore test failures on docker (missing IPv6 connectivity)
- name: unit tests (internal functions)
run: 'install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes || test ! -z "${{ matrix.config.docker }}"'
timeout-minutes: 5

- name: unit tests (exported functions)
run: install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
timeout-minutes: 5
if: ${{ success() || failure() }}
- name: unit tests
run: |
if [[ "${{ matrix.config.name }}" = ubuntu-2* ]]; then
ulimit -c unlimited
echo "$PWD/dumps/corefile-%e-%p-%t" | sudo tee /proc/sys/kernel/core_pattern
fi
mkdir -p dumps
install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes || test ! -z "${{ matrix.config.docker }}"
install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
timeout-minutes: 10
- name: upload dump
if: failure()
uses: actions/upload-artifact@master
with:
name: dumps-${{ matrix.config.name }}
path: dumps
- name: upload to release page
if: github.event_name == 'release'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mingw_static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
shell: 'msys2 {0}'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
release: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanitize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: 'ubuntu-latest'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install build toolchain
run: |
curl -sSL https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/llvm.gpg
Expand Down

0 comments on commit 5d46e65

Please sign in to comment.