mirror of
https://github.com/Pithikos/C-Thread-Pool
synced 2024-11-21 13:11:25 +03:00
27 lines
646 B
YAML
27 lines
646 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test-normal-compile:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Valgrind
|
|
run: sudo apt-get install -y valgrind
|
|
- name: Run tests with standard compilation flags
|
|
working-directory: tests/
|
|
run: ./normal_compile.sh
|
|
|
|
test-optimized-compile:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Valgrind
|
|
run: sudo apt-get install -y valgrind
|
|
- name: Run tests with optimized compilation flags
|
|
working-directory: tests/
|
|
run: ./optimized_compile.sh
|