Skip to content

Optimize Keccak Permutation and Sponge Operations #83

Optimize Keccak Permutation and Sponge Operations

Optimize Keccak Permutation and Sponge Operations #83

Workflow file for this run

# Collects inspiration from https://github.com/itzmeanjan/frodoPIR/blob/aa654db3d11384fce73086cbbd37c63e0cb30e33/.github/workflows/test_ci.yml
name: Test SHA3 Hash and Extendable Output Functions
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [
ubuntu-latest, # x86_64
macos-latest, # aarch64
]
compiler: [g++, clang++]
build_type: [debug, release]
test_type: [standard, asan, ubsan]
steps:
- uses: actions/checkout@v4
- name: Setup Google Test
uses: Bacondish2023/setup-googletest@v1
with:
tag: v1.15.2
- name: Execute Tests on ${{matrix.os}}, compiled with ${{matrix.compiler}}
if: ${{matrix.test_type == 'standard'}}
run: |
CXX=${{matrix.compiler}} make test -j
make clean
- name: Execute Tests with ${{matrix.test_type}}, in ${{matrix.build_type}} mode, on ${{matrix.os}}, compiled with ${{matrix.compiler}}
if: ${{matrix.test_type != 'standard'}}
run: |
CXX=${{matrix.compiler}} make ${{matrix.build_type}}_${{matrix.test_type}}_test -j
make clean
- name: Build and run examples
run: |
make example -j
make clean