Skip to content

Updating version of bench and test libraries. #19

Updating version of bench and test libraries.

Updating version of bench and test libraries. #19

Workflow file for this run

---
name: OnCICI
on:
push:
branches:
- master
jobs:
build:
name: Benchmarking
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [[gcc, g++], [clang, clang++]]
steps:
- uses: actions/checkout@v7
- name: Building
env:
CC: ${{ matrix.compiler[0] }}
CXX: ${{ matrix.compiler[1] }}
run: |
mkdir build
cd build
cmake ..
make bench
- name: Benchmarking
run: |
cd build
bin/bench | tee timings_${{ matrix.compiler[0] }}.txt
- uses: actions/upload-artifact@v7
with:
name: Timings_${{ matrix.compiler[0] }}
path: build/timings_${{ matrix.compiler[0] }}.txt
test:
name: Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Building
run: |
mkdir build
cd build
cmake ..
make test_mine unit_tests
- name: Testing
run: |
cd build
bin/test_mine
bin/unit_tests