mirror of
https://github.com/bkthomps/Containers.git
synced 2025-11-16 04:24:47 +00:00
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
name: build
|
|
on: [push]
|
|
jobs:
|
|
debug:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make test_debug
|
|
- run: ./ContainersTest
|
|
debug_windows:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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@v3
|
|
- run: make test_optimized
|
|
- run: ./ContainersTest
|
|
optimized_windows:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make test_optimized_no_malloc_fail
|
|
- run: ./ContainersTest
|
|
coverage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make test_coverage
|
|
- run: ./ContainersTest
|
|
- run: bash <(curl -s https://codecov.io/bash)
|
|
valgrind:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: sudo apt install -y valgrind
|
|
- run: make test_debug_no_malloc_fail
|
|
- run: valgrind --leak-check=full --error-exitcode=1 ./ContainersTest
|