-
Notifications
You must be signed in to change notification settings - Fork 17
53 lines (53 loc) · 1.3 KB
/
Copy pathbuild.yml
File metadata and controls
53 lines (53 loc) · 1.3 KB
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
43
44
45
46
47
48
49
50
51
52
53
name: build
on: [push]
jobs:
debug:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v5
- run: make test_debug
- run: ./ContainersTest
debug_windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v5
- run: make test_debug_no_malloc_fail
- run: ./ContainersTest
optimized:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v5
- run: make test_optimized
- run: ./ContainersTest
optimized_windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v5
- run: make test_optimized_no_malloc_fail
- run: ./ContainersTest
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: make test_coverage
- run: ./ContainersTest
- run: bash <(curl -s https://codecov.io/bash)
valgrind:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: sudo apt install -y valgrind
- run: make test_debug_no_malloc_fail
- run: valgrind --leak-check=full --error-exitcode=1 ./ContainersTest