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

27 lines
646 B
YAML
Raw Permalink 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
2022-12-19 23:47:43 +03:00
run: sudo apt-get install -y valgrind
2022-12-19 23:36:19 +03:00
- name: Run tests with standard compilation flags
working-directory: tests/
run: ./normal_compile.sh
2022-12-20 00:06:56 +03:00
2022-12-19 23:36:19 +03:00
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
2022-12-19 23:47:43 +03:00
run: sudo apt-get install -y valgrind
2022-12-19 23:36:19 +03:00
- name: Run tests with optimized compilation flags
working-directory: tests/
run: ./optimized_compile.sh