Files
Containers/.github/workflows/build.yml
Bailey Thompson a270dc1a1d Add windows and macOS tests (#148)
Update the github actions workflow to v3 and add windows and macOS tests.
2022-04-29 23:36:25 -04:00

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