Skip to content

sha1sum.c, sha256.c: make code work with -fstrict-aliasing #136

sha1sum.c, sha256.c: make code work with -fstrict-aliasing

sha1sum.c, sha256.c: make code work with -fstrict-aliasing #136

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
compiler: [gcc-9, gcc-10, gcc-11, clang-12, clang-13, clang-14]
bits: ['32', '64']
lto: [LTO=y, LTO=n]
runs-on: 'ubuntu-22.04'
steps:
- name: Install
run: |
sudo apt-get update -q
sudo apt-get install ${{ matrix.compiler }}
- uses: actions/checkout@v3
- name: make
run: |
make CC=${{matrix.compiler}} BITS=${{matrix.bits}} ${{matrix.lto}}
./extend_skl_only.sh
- name: make tests
run: |
make CC=${{matrix.compiler}} BITS=64 ${{matrix.lto}} tests