C-Thread-Pool/.github/workflows/tests.yml

26 lines
631 B
YAML
Raw Normal View History

2022-12-19 23:36:19 +03:00
name: Tests
on:
push:
pull_request:
jobs:
test-normal-compile:
runs-on: ubuntu-latest
steps:
2022-12-19 23:38:26 +03:00
- uses: actions/checkout@v3
2022-12-19 23:41:43 +03:00
- name: Install Valgrind
run: sudo apt install valgrind
2022-12-19 23:36:19 +03:00
- name: Run tests with standard compilation flags
working-directory: tests/
run: ./normal_compile.sh
test-optimized-compile:
runs-on: ubuntu-latest
steps:
2022-12-19 23:38:26 +03:00
- uses: actions/checkout@v3
2022-12-19 23:41:43 +03:00
- name: Install Valgrind
run: sudo apt install valgrind
2022-12-19 23:36:19 +03:00
- name: Run tests with optimized compilation flags
working-directory: tests/
run: ./optimized_compile.sh