Skip to content

Added Serpent-256-GCM algorithm support #24

Added Serpent-256-GCM algorithm support

Added Serpent-256-GCM algorithm support #24

name: build-ubuntu-clang-tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# platform tasks
jobs:
UbuntuClangTests:
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [ x64 ] #architecture: [x86, x64]
build-platform: [ x64 ] #build-platform: [x86, x64]
steps:
- uses: actions/checkout@v2
- name: Installing Latest gcc & g++ Compiler
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-12 g++-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
- name: Installing necessary system libraries
run: sudo apt install cmake ninja-build libgl1-mesa-dev libxi-dev libx11-dev xorg-dev libwayland-dev libxkbcommon-dev libxcursor-dev libxrandr-dev libxcomposite-dev libxinerama-dev libtbb-dev
- name: Generating Ninja build files
run: mkdir build && cd build && cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENIGMA_ENABLE_TESTS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
- name: Building Enigma Tests
run: cd build && ninja EnigmaTests -j$(nproc)
- name: Running Enigma Tests
run: ./build/tests/EnigmaTests