BREAKING CHANGE - change srv
name to io
and enforce namespace + m…
#176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows Clang CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
runs-on: windows-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: egor-tensin/setup-clang@v1 | |
with: | |
platform: x64 | |
- name: Setup ENV | |
run: | | |
echo "CI=false" >> "$GITHUB_ENV" | |
- name: Test No-Op (debug) | |
run: clang -O0 -fstack-protector-all tests\noop.c -I. -DFIO_LEAK_COUNTER=1 -DDEBUG -D_CRT_NONSTDC_NO_WARNINGS -o ./noop.exe && ./noop.exe | |
- name: Test STL (debug) - no allocators | |
run: clang -O0 -fstack-protector-all tests\stl.c -I. -DFIO_MEMORY_DISABLE=1 -DFIO_LEAK_COUNTER=1 -D_CRT_NONSTDC_NO_WARNINGS -DDEBUG -o ./stld.exe && ./stld.exe | |
- name: Test fio_malloc speed | |
run: clang -O3 -march=native tests\malloc.c -I. -o ./malloc.exe && ./malloc.exe | |
- name: Test STL | |
run: clang -O3 -march=native tests\stl.c -DFIO_LEAK_COUNTER=1 -D_CRT_NONSTDC_NO_WARNINGS -I. -o ./stl.exe && ./stl.exe |