forked from TileDB-Inc/TileDB
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.14 KB
/
check-heap-memory-api-violations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: check-heap-memory-api-violations
on:
push:
paths-ignore:
- '_quarto.yml'
- 'quarto-materials/*'
- '**/.md'
- 'doc/source/conf.py'
- 'tiledb/sm/c_api/tiledb_version.h'
pull_request:
paths-ignore:
- '_quarto.yml'
- 'quarto-materials/*'
- '**/.md'
- 'doc/source/conf.py'
- 'tiledb/sm/c_api/tiledb_version.h'
jobs:
build:
runs-on: ubuntu-20.04
if: ${{ startsWith(github.ref , 'refs/tags') != true && startsWith(github.ref , 'build-') != true }}
timeout-minutes: 90
name: Check Heap Memory Violations
steps:
- uses: actions/checkout@v3
- name: 'Print env'
run: |
echo "'uname -s' is:"
echo "uname: " $(uname)
echo "uname -m: " $(uname -m)
echo "uname -r:" $(uname -r)
echo "uname -s: " $(uname -s)
echo "uname -v: " $(uname -v)
printenv
shell: bash
- name: Check Heap Memory API Violations (linux only)'
run: |
set -e pipefail
python scripts/find_heap_api_violations.py tiledb
shell: bash
if: ${{ runner.os == 'Linux' }}