naming + attempted fix for windows constructors + dependency tweaks #106
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 MingW CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
timeout-minutes: 35 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: egor-tensin/setup-mingw@v2 | |
with: | |
platform: x64 | |
cc: 1 | |
- name: Test No-Op (debug) | |
run: cc -O0 -fstack-protector-all tests\noop.c -I. -DFIO_LEAK_COUNTER=1 -DDEBUG -lws2_32 -o ./noop.exe && ./noop.exe | |
- name: Test STL (debug) - no allocators | |
run: cc -O0 -fstack-protector-all tests\stl.c -I. -DFIO_MEMORY_DISABLE=1 -DFIO_LEAK_COUNTER=1 -DDEBUG -lws2_32 -o ./stld.exe && ./stld.exe | |
- name: Test fio_malloc speed | |
run: cc -O2 -march=native tests\malloc.c -I. -lws2_32 -o ./malloc.exe && ./malloc.exe | |
- name: Test STL | |
run: cc -O2 -march=native tests\stl.c -DFIO_LEAK_COUNTER=1 -I. -lws2_32 -o ./stl.exe && ./stl.exe |