Skip to content

Updated Hashing Tool #24

Updated Hashing Tool

Updated Hashing Tool #24

name: build-ubuntu-clang
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# platform tasks
jobs:
UbuntuClang:
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 apt update
sudo apt install clang-14
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 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=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
- name: Building Enigma
run: cd build && ninja -j$(nproc)
- name: Installing Enigma
run: cd build && ninja install
- name: Running Enigma
run: ./build/Enigma --version