Make Ascon Permutation-based Hashing constexpr
#63
Workflow file for this run
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: Test Ascon Cipher Suite on CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup compiler | |
run: | | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 | |
- name: Fetch dependency | |
run: git submodule update --init | |
- name: Get CMake | |
run: sudo apt-get install cmake | |
- name: Setup Google-Test | |
run: | | |
pushd ~ | |
git clone https://github.com/google/googletest.git -b v1.13.0 | |
pushd googletest | |
mkdir build | |
pushd build | |
cmake .. -DBUILD_GMOCK=OFF | |
make | |
sudo make install | |
popd | |
popd | |
popd | |
- name: Execute tests | |
run: make -j $(nproc --all) | |
- name: Cleanup | |
run: make clean |