mindex.c

In-memory ordered store and fetch library
git clone git://git.finwo.net/lib/mindex.c
Log | Files | Refs | README | LICENSE

commit 89c48ebb61c1ace49fce7b5f4e8995f9ae805f8c
parent e351eab33b367ba7a06bfd55e7afd8672e7fdea3
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Sat,  4 Mar 2023 23:18:06 +0100

Add CI testing with different optimization flags

Diffstat:
M.github/workflows/continuous-integration.yml | 56++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 54 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml @@ -9,8 +9,8 @@ on: jobs: - test: - name: Test + test-default: + name: Test default runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -19,3 +19,55 @@ jobs: - run : make clean - run : make - run : ./test + + test-os: + name: Test -Os + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + env: + CFLAGS: "-Wall -std=c99 -Os" + - run : ./test + + test-o1: + name: Test -O1 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + env: + CFLAGS: "-Wall -std=c99 -O1" + - run : ./test + + test-o2: + name: Test -O2 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + env: + CFLAGS: "-Wall -std=c99 -O2" + - run : ./test + + test-o3: + name: Test -O3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + env: + CFLAGS: "-Wall -std=c99 -O3" + - run : ./test